Update personal_journals_controller.rb
This commit is contained in:
parent
1bc7e8a065
commit
d8ee2ec656
|
@ -72,6 +72,8 @@ class PersonalJournalsController < ApplicationController
|
|||
t << { 'value' => (journal_paper.journal_paper_type.title rescue '') }
|
||||
when 'language'
|
||||
t << { 'value' => (!journal_paper.language.nil? ? t(journal_paper.language.to_s) : '') }
|
||||
when 'url'
|
||||
t << { 'value' => ("<a href='#{journal_paper.url}'>#{journal_paper.url}</a>" rescue ''}
|
||||
else
|
||||
t << { 'value' => (journal_paper.send(fs) rescue '') }
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue