diff --git a/app/models/journal_paper.rb b/app/models/journal_paper.rb index 8ff8da1..3b10cc8 100644 --- a/app/models/journal_paper.rb +++ b/app/models/journal_paper.rb @@ -215,6 +215,8 @@ class JournalPaper files << (url.nil? ? "" : "
  • #{title}
  • ") end value = files.join("") + when "url" + value = self.url.to_s.blank? ? "" : "#{self.url}" else value = self.send(field) rescue "" end