1
0
Fork 0
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:
Dimitrij Denissenko 2009-12-07 20:12:01 +08:00 committed by José Valim
parent 45a5d2b416
commit 4f5789f8b1

View file

@ -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)