7 lines
269 B
Ruby
7 lines
269 B
Ruby
|
class Admin < ActiveRecord::Base
|
||
|
# Include default devise modules. Others available are:
|
||
|
# :confirmable, :lockable, :timeoutable and :omniauthable
|
||
|
devise :database_authenticatable, :registerable,
|
||
|
:recoverable, :rememberable, :trackable, :validatable
|
||
|
end
|