Sha256: 3bab7e0ca38cc7054691cefed4cf8ed0e6c93725dd02fd93bd3d7f32426bcb5a
Contents?: true
Size: 920 Bytes
Versions: 16
Compression:
Stored size: 920 Bytes
Contents
require "alchemy/devise/engine" module Alchemy # Devise modules included in +Alchemy::User+ model # # === Default modules # # [ #. :database_authenticatable, # :trackable, # :validatable, # :timeoutable, # :recoverable #. ] # # If you want to add additional modules into the Alchemy user class append # them to this collection in an initializer in your app. # # === Example # # # config/initializers/alchemy.rb # Alchemy.devise_modules << :registerable # # If your app uses an old encryption that needs the +devise-encryptable+ gem # you also need to load the devise module. # # Alchemy.devise_modules << :encryptable # def self.devise_modules @devise_modules ||= [ :database_authenticatable, :trackable, :validatable, :timeoutable, :recoverable ] end module Devise end end
Version data entries
16 entries across 16 versions & 1 rubygems