diff options
Diffstat (limited to 'app/models/user.rb')
-rw-r--r-- | app/models/user.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/models/user.rb b/app/models/user.rb index 569233d53..a017b4289 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -101,12 +101,8 @@ class User < ActiveRecord::Base end # Return user's full name for display - def display_name - firstname + " " + lastname - end - def name - display_name + "#{firstname} #{lastname}" end def active? |