1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00
heartcombo--devise/lib/generators
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
..
active_record Add flexibility to devise generators by using ORM hooks. 2010-07-04 17:15:24 +02:00
devise 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
mongoid Add flexibility to devise generators by using ORM hooks. 2010-07-04 17:15:24 +02:00
devise_install_generator.rb Do not show messages if eager loading to call help. 2010-06-13 13:34:49 +02:00
devise_views_generator.rb Do not show messages if eager loading to call help. 2010-06-13 13:34:49 +02:00