bug fix w/ the performance section

This commit is contained in:
cktricky
2013-09-10 21:57:03 -04:00
parent d5801f0684
commit 6f71d7eda7
+2 -1
View File
@@ -3,6 +3,7 @@ class Performance < ActiveRecord::Base
belongs_to :user
def reviewer_name
User.find_by_id(self.reviewer).full_name
u = User.find_by_id(self.reviewer)
u.full_name if u.respond_to?('full_name')
end
end