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. |
||
---|---|---|
.. | ||
controllers | ||
encryptors | ||
hooks | ||
models | ||
orm | ||
rails | ||
strategies | ||
failure_app.rb | ||
mapping.rb | ||
models.rb | ||
modules.rb | ||
path_checker.rb | ||
rails.rb | ||
schema.rb | ||
test_helpers.rb | ||
version.rb |