Update personal_journals_controller.rb

This commit is contained in:
chiu 2019-11-02 11:43:38 +08:00
parent 1f56a3ae60
commit 45ce6cb926
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class PersonalJournalsController < ApplicationController
when 'url' when 'url'
t << { 'value' => ("<a href='#{journal_paper.url}'>#{journal_paper.url}</a>" rescue '')} t << { 'value' => ("<a href='#{journal_paper.url}'>#{journal_paper.url}</a>" rescue '')}
when 'authors' when 'authors'
t << { 'value' => get_authors_text(journal_paper) } t << { 'value' => get_authors(journal_paper) }
else else
t << { 'value' => (journal_paper.send(fs) rescue '') } t << { 'value' => (journal_paper.send(fs) rescue '') }
end end