Update personal_journals_controller.rb
This commit is contained in:
parent
1f56a3ae60
commit
45ce6cb926
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue