mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
ae6322efb5
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. |
||
---|---|---|
.. | ||
helpers_test.rb | ||
internal_helpers_test.rb | ||
url_helpers_test.rb |