mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Autoload Devise::Models modules
This commit is contained in:
parent
45a5d2b416
commit
4f5789f8b1
1 changed files with 8 additions and 0 deletions
|
@ -1,5 +1,13 @@
|
||||||
module Devise
|
module Devise
|
||||||
module Models
|
module Models
|
||||||
|
autoload :Authenticatable, 'devise/models/authenticatable'
|
||||||
|
autoload :Confirmable, 'devise/models/confirmable'
|
||||||
|
autoload :Recoverable, 'devise/models/recoverable'
|
||||||
|
autoload :Rememberable, 'devise/models/rememberable'
|
||||||
|
autoload :Timeoutable, 'devise/models/timeoutable'
|
||||||
|
autoload :Trackable, 'devise/models/trackable'
|
||||||
|
autoload :Validatable, 'devise/models/validatable'
|
||||||
|
|
||||||
# Creates configuration values for Devise and for the given module.
|
# Creates configuration values for Devise and for the given module.
|
||||||
#
|
#
|
||||||
# Devise::Models.config(Devise::Authenticable, :stretches, 10)
|
# Devise::Models.config(Devise::Authenticable, :stretches, 10)
|
||||||
|
|
Loading…
Reference in a new issue