forked from saurabh/personal-honor
fix for slug_title
This commit is contained in:
parent
b09132c925
commit
d9bcf0ba6d
|
@ -23,7 +23,7 @@ class Honor
|
||||||
before_validation :add_http
|
before_validation :add_http
|
||||||
|
|
||||||
def slug_title
|
def slug_title
|
||||||
self.award_name+' '+self.awarding_unit
|
self.award_name+' '+self.awarding_unit rescue ""
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_plugin_data(fields_to_show)
|
def get_plugin_data(fields_to_show)
|
||||||
|
|
Loading…
Reference in New Issue