mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Update comment on Devise.add_module
The existing comment suggests that add_module is used only for modules that are not provided by Devise itself.
This commit is contained in:
parent
359fba970e
commit
155e23a73e
1 changed files with 6 additions and 1 deletions
|
@ -325,7 +325,12 @@ module Devise
|
|||
mapping
|
||||
end
|
||||
|
||||
# Make Devise aware of an 3rd party Devise-module (like invitable). For convenience.
|
||||
# Register available devise modules. For the standard modules that Devise provides, this method is
|
||||
# called from lib/devise/modules.rb. Third-party modules need to be added explicitly using this method.
|
||||
#
|
||||
# Note that adding a module using this method does not cause it to be used in the authentication
|
||||
# process. That requires that the module be listed in the arguments passed to the 'devise' method
|
||||
# in the model class definition.
|
||||
#
|
||||
# == Options:
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue