11 lines
430 B
Ruby
11 lines
430 B
Ruby
|
class AdminUser < ActiveRecord::Base
|
||
|
# Include default devise modules. Others available are:
|
||
|
# :confirmable, :lockable, :timeoutable and :omniauthable
|
||
|
devise :database_authenticatable,
|
||
|
:recoverable, :rememberable, :trackable, :validatable
|
||
|
|
||
|
# Setup accessible (or protected) attributes for your model
|
||
|
attr_accessible :email, :password, :password_confirmation, :remember_me
|
||
|
# attr_accessible :title, :body
|
||
|
end
|