Updated job view for operator
This commit is contained in:
@@ -34,4 +34,8 @@ class User < ApplicationRecord
|
||||
after_update if: :password_digest_previously_changed? do
|
||||
sessions.where.not(id: Current.session).delete_all
|
||||
end
|
||||
|
||||
def name
|
||||
[ firstname, " ", lastname ].join
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user