Update personal_journals_controller.rb
This commit is contained in:
parent
d8ee2ec656
commit
c99b57caed
|
@ -73,7 +73,7 @@ class PersonalJournalsController < ApplicationController
|
||||||
when 'language'
|
when 'language'
|
||||||
t << { 'value' => (!journal_paper.language.nil? ? t(journal_paper.language.to_s) : '') }
|
t << { 'value' => (!journal_paper.language.nil? ? t(journal_paper.language.to_s) : '') }
|
||||||
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 '')}
|
||||||
else
|
else
|
||||||
t << { 'value' => (journal_paper.send(fs) rescue '') }
|
t << { 'value' => (journal_paper.send(fs) rescue '') }
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue