adjust navbar

This commit is contained in:
Alex Turchyn committed 2023-06-01 00:01:13 +03:00
1 parent 81f376cf50
commit 1435d55727
5 files changed
+24 -11

No files matched your search

+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