a bit hackish, override fa-certificate for default icon (it is set by pg in the column default)

This commit is contained in:
Sam 2014-10-07 12:01:06 +11:00
parent dba1616762
commit 4e2f1811ca

View file

@ -254,6 +254,7 @@ SQL
def default_icon=(val)
self.icon ||= val
self.icon = val if self.icon = "fa-certificate"
end
def default_name=(val)