1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00
heartcombo--devise/test/controllers
José Valim ae6322efb5 No longer retrieve the user from paths, but use the env hash. This change deprecates use_default_scope.
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.
2010-07-06 01:33:32 +02:00
..
helpers_test.rb simplification (sign_out_everybody => sign_out_all_scopes) 2010-06-25 02:29:48 +08:00
internal_helpers_test.rb No longer retrieve the user from paths, but use the env hash. This change deprecates use_default_scope. 2010-07-06 01:33:32 +02:00
url_helpers_test.rb Improve integration of devise with new router scope. 2010-07-04 11:53:12 +02:00