1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

adding docs for the namespace behavior

This commit is contained in:
Daniel Lopes 2010-08-11 21:12:05 +08:00 committed by José Valim
parent 5fb5efbd42
commit 736654e1bc

View file

@ -91,6 +91,10 @@ module ActionDispatch::Routing
# Will use publisher/sessions controller instead of devise/sessions controller. You can revert
# this by providing the :module option to devise_for.
#
# Also pay attention that when you use a namespace it will affect all the helpers and methods for controllers
# and views. For example, using the above setup you'll end with following methods:
# current_publisher_account, authenticate_publisher_account!, pusblisher_account_signed_in, etc.
#
# * :skip => tell which controller you want to skip routes from being created:
#
# devise_for :users, :skip => :sessions