1
0
Fork 0
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:
MarkMT 2015-08-20 19:17:52 -05:00
parent 359fba970e
commit 155e23a73e

View file

@ -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:
#