add link to member show page

This commit is contained in:
EricTYL 2020-01-15 17:03:19 +08:00
parent 4d62acaf8c
commit 7ba8a128ff
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ class JournalPaper
when "url" when "url"
value = self.url.to_s.blank? ? "" : "<a href='#{self.url}'>#{self.url}</a>" value = self.url.to_s.blank? ? "" : "<a href='#{self.url}'>#{self.url}</a>"
when "authors" when "authors"
value = get_authors_show(self) value = get_member_show(self) rescue ""
else else
value = self.send(field) rescue "" value = self.send(field) rescue ""
end end