Skip to content

skygroundmedia/clone-evernote

Repository files navigation

Evernote Clone

Deploy to Heroku

This application was generated with the rails_apps_composer gem provided by the RailsApps Project.

Rails Composer is supported by developers who purchase our RailsApps tutorials.

Problems? Issues?

Need help? Ask on Stack Overflow with the tag 'railsapps.'

Your application contains diagnostics in the README file. Please provide a copy of the README file when reporting any issues.

If the application doesn't work as expected, please report an issue and include the diagnostics.


Getting Started

Documentation and Support

Devise

edit_user                GET /users/:id/edit(.:format) users#edit
user                     GET /users/:id(.:format) users#show
cancel_user_registration GET /cancel(.:format) registrations#cancel
user_registration        POST   /                     registrations#create
new_user_registration    GET /request_invite(.:format) registrations#new
edit_user_registration   GET /edit(.:format)     registrations#edit

Add a Role

Add a Default role

map to the path for the index and create actions

photos_url and photos_path

map to the path for the new action

new_photo_url and new_photo_path

map to the path for the edit action

edit_photo_url and edit_photo_path

map to the path for the show, update, and destroy actions

photo_url and photo_path

Add a Route

photos_path => /photos
new_photo_path => /photos/new
edit_photo_path(:id) => /photos/:id/edit (for instance, edit_photo_path(10) returns /photos/10/edit)
photo_path(:id) => /photos/:id (for instance, photo_path(10) returns /photos/10)