forked from saurabh/personal-journal
Update personal_journals_controller.rb
This commit is contained in:
parent
48526a96a7
commit
0aa6715a2f
|
@ -75,7 +75,7 @@ class PersonalJournalsController < ApplicationController
|
|||
when "language"
|
||||
t << {"value" => (!journal_paper.language.nil? ? t("#{journal_paper.language}") : "")}
|
||||
else
|
||||
t << {"value" => journal_paper.send(fs)}
|
||||
t << {"value" => (journal_paper.send(fs) rescue "")}
|
||||
end
|
||||
end
|
||||
journal_paper_list << {"jps" => t}
|
||||
|
|
Loading…
Reference in New Issue