Fix create_link method in model

This commit is contained in:
manson 2014-07-30 14:58:17 +08:00
parent f87acca529
commit c503d45791
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ class JournalPaper
title << self.issue_no if (self.issue_no.present? && self.issue_no != "0")
title << "pp"+self.form_to_start+"-"+self.form_to_end if (self.form_to_start.present? && self.form_to_start != "0")
title << ( !self.journal_levels.blank? ? "(#{self.journal_levels.collect{|x| x.title}.join(', ')})" : nil)
title.join(', ')
title.join(', ').gsub(', ,',',')
end
def authors