diff options
Diffstat (limited to 'app/models/member.rb')
-rw-r--r-- | app/models/member.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/member.rb b/app/models/member.rb index 07a3bc1dc1d..687830f5267 100644 --- a/app/models/member.rb +++ b/app/models/member.rb @@ -419,6 +419,10 @@ class Member < ApplicationRecord invite? && user_id.nil? end + def created_by_name + created_by&.name + end + private def send_invite |