Add entry to CHANGELOG.

This commit is contained in:
José Valim 2010-06-30 12:49:41 +02:00
parent aefcd53765
commit 8e3ef2a620
2 changed files with 13 additions and 2 deletions

View File

@ -1,5 +1,9 @@
* enhancements
* Rememberable module allows user to be remembered across browsers; enabled by default (by github.com/trevorturk)
* Rememberable module allows user to be remembered across browsers and is enabled by default (by github.com/trevorturk)
* devise_for can now be used together with scope method in routes but with a few limitations (check the documentation)
* deprecation
* :path_prefix option in devise_for is no longer supported
* bug fix
* Fix a bug in Devise::TestHelpers where current_user was returning a Response object for non active accounts;

View File

@ -98,10 +98,17 @@ module ActionDispatch::Routing
# end
# end
#
# Second, since Devise expects routes in the format "user_session_path" to be defined, you cannot
# scope to a given route name as below:
#
# scope "/special_scope", :as => :special_scope do # THIS WILL FAIL
# devise_for :users
# end
#
# Finally, Devise does not (and cannot) support optional segments, either static or dynamic. That
# said, the following does not work:
#
# scope "(/:locale)" do
# scope "(/:locale)" do # THIS WILL FAIL
# devise_for :users
# end
#