From c99b57caedfe3e579811623a3f3520fa6e7b3b5d Mon Sep 17 00:00:00 2001 From: chiu Date: Thu, 31 Oct 2019 23:35:48 +0800 Subject: [PATCH] Update personal_journals_controller.rb --- app/controllers/personal_journals_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/personal_journals_controller.rb b/app/controllers/personal_journals_controller.rb index 4ed82b5..b1a7146 100644 --- a/app/controllers/personal_journals_controller.rb +++ b/app/controllers/personal_journals_controller.rb @@ -73,7 +73,7 @@ class PersonalJournalsController < ApplicationController when 'language' t << { 'value' => (!journal_paper.language.nil? ? t(journal_paper.language.to_s) : '') } when 'url' - t << { 'value' => ("#{journal_paper.url}" rescue ''} + t << { 'value' => ("#{journal_paper.url}" rescue '')} else t << { 'value' => (journal_paper.send(fs) rescue '') } end