diff --git a/app/decorators/user_decorator.rb b/app/decorators/user_decorator.rb index af9c6a6..b781f23 100644 --- a/app/decorators/user_decorator.rb +++ b/app/decorators/user_decorator.rb @@ -8,4 +8,8 @@ class UserDecorator < ApplicationDecorator def tm_of(project) project.team_member_by_id(self.id) end + + def name_with_email + "#{name} (#{email})" + end end -- libgit2 0.21.2