Created
December 28, 2011 14:51
-
-
Save jkamenik/1528195 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class RegistrationsController < Devise::RegistrationsController | |
| layout false | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| devise_for :owners, :controllers => { :registrations => "registrations" } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| new_user_session GET /users/sign_in(.:format) {:controller=>"devise/sessions", :action=>"new"} | |
| user_session POST /users/sign_in(.:format) {:controller=>"devise/sessions", :action=>"create"} | |
| destroy_user_session DELETE /users/sign_out(.:format) {:controller=>"devise/sessions", :action=>"destroy"} | |
| user_password POST /users/password(.:format) {:controller=>"devise/passwords", :action=>"create"} | |
| new_user_password GET /users/password/new(.:format) {:controller=>"devise/passwords", :action=>"new"} | |
| edit_user_password GET /users/password/edit(.:format) {:controller=>"devise/passwords", :action=>"edit"} | |
| PUT /users/password(.:format) {:controller=>"devise/passwords", :action=>"update"} | |
| users GET /users(.:format) {:controller=>"users", :action=>"index"} | |
| POST /users(.:format) {:controller=>"users", :action=>"create"} | |
| new_user GET /users/new(.:format) {:controller=>"users", :action=>"new"} | |
| edit_user GET /users/:id/edit(.:format) {:controller=>"users", :action=>"edit"} | |
| user GET /users/:id(.:format) {:controller=>"users", :action=>"show"} | |
| PUT /users/:id(.:format) {:controller=>"users", :action=>"update"} | |
| DELETE /users/:id(.:format) {:controller=>"users", :action=>"destroy"} | |
| root /(.:format) {:controller=>"users", :action=>"index"} |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/plataformatec/devise/tree/v1.4/app/views/devise/registrations