mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
![]() If you have non conventional routes and want to specify the scope for a controller, you can do that at the router level: as :user do get "/sign_in", :to => "devise/session#new" end This is saying: when accessing "/sign_in", devise should use the user scope. Meaning that users signed through that form will be signed to the user scope. |
||
---|---|---|
.. | ||
active_record | ||
devise | ||
mongoid | ||
devise_install_generator.rb | ||
devise_views_generator.rb |