Updating icons, fixing user cert nil error

This commit is contained in:
2013-08-26 22:05:53 -07:00
parent 9e4b79a353
commit 4067477cd4
6 changed files with 6 additions and 2 deletions

View File

@@ -5,4 +5,8 @@ class UserCertification < ActiveRecord::Base
belongs_to :user
belongs_to :certification
def user_name
self.user.name unless self.user.blank?
end
end