finish activity ui
This commit is contained in:
@@ -3,4 +3,8 @@ class User < ApplicationRecord
|
||||
# :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
|
||||
devise :database_authenticatable, :registerable,
|
||||
:recoverable, :rememberable, :validatable
|
||||
|
||||
def is_admin?
|
||||
id == 1
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user