diff --git a/app/helpers/admin/journal_papers_helper.rb b/app/helpers/admin/journal_papers_helper.rb index d0da58c..e26ab60 100644 --- a/app/helpers/admin/journal_papers_helper.rb +++ b/app/helpers/admin/journal_papers_helper.rb @@ -1,6 +1,6 @@ module Admin::JournalPapersHelper def get_authors_text(journal) - journal.authors.to_s.blank? ? get_member(journal).join('/') : Nokogiri::HTML(journal.authors.to_s).text + journal.authors.to_s.blank? ? get_member(journal).collect(&:name).join('/') : Nokogiri::HTML(journal.authors.to_s).text end def get_authors_show(journal) journal.authors.to_s.blank? ? get_member(journal).collect(&:name).join('/') : (journal.authors.to_s)