|
|
@ -2,7 +2,7 @@ class Admin < ActiveRecord::Base |
|
|
|
# Include default devise modules. Others available are: |
|
|
|
# Include default devise modules. Others available are: |
|
|
|
# :token_authenticatable, :confirmable, |
|
|
|
# :token_authenticatable, :confirmable, |
|
|
|
# :lockable, :timeoutable and :omniauthable |
|
|
|
# :lockable, :timeoutable and :omniauthable |
|
|
|
devise :database_authenticatable, :registerable, |
|
|
|
devise :database_authenticatable, #:registerable, |
|
|
|
:recoverable, :rememberable, :trackable, :validatable |
|
|
|
:recoverable, :rememberable, :trackable, :validatable |
|
|
|
|
|
|
|
|
|
|
|
# Setup accessible (or protected) attributes for your model |
|
|
|
# Setup accessible (or protected) attributes for your model |
|
|
|