Updating icons, fixing user cert nil error
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user