mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
add documentation about skip: :all
option to devise_for
method
This commit is contained in:
parent
9a5783ade3
commit
9938a5e933
1 changed files with 2 additions and 1 deletions
|
@ -129,7 +129,8 @@ module ActionDispatch::Routing
|
|||
#
|
||||
# devise_for :users, module: "users"
|
||||
#
|
||||
# * skip: tell which controller you want to skip routes from being created:
|
||||
# * skip: tell which controller you want to skip routes from being created.
|
||||
# It accepts :all as an option, meaning it will not generate any route at all:
|
||||
#
|
||||
# devise_for :users, skip: :sessions
|
||||
#
|
||||
|
|
Loading…
Add table
Reference in a new issue