adjust navbar

This commit is contained in:
Alex Turchyn
2023-05-29 23:26:17 +03:00
parent 81f376cf50
commit 1435d55727
5 changed files with 24 additions and 11 deletions
+4
View File
@@ -56,6 +56,10 @@ class User < ApplicationRecord
!deleted_at?
end
def initials
[first_name.first, last_name.first].join.upcase
end
def full_name
[first_name, last_name].join(' ')
end