fix for slug_title

This commit is contained in:
Harry Bomrah 2015-04-29 18:05:37 +08:00
parent b09132c925
commit d9bcf0ba6d
1 changed files with 1 additions and 1 deletions

View File

@ -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)