hubfeenix.fi/app/models/member.rb

13 lines
323 B
Ruby

class Member < ApplicationRecord
# Include default devise modules. Others available are:
# , :lockable, :timeoutable, :trackable and :omniauthable
devise :database_authenticatable, :registerable,:confirmable,
:recoverable, :rememberable, :validatable
has_rich_text :bio
def admin?
true
end
end