From 776e296749f5cf665fbae7fd2a2d680db4b8040c Mon Sep 17 00:00:00 2001 From: chiu Date: Mon, 12 Aug 2019 18:00:03 +0800 Subject: [PATCH] Update personal_journals_controller.rb --- app/controllers/personal_journals_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/personal_journals_controller.rb b/app/controllers/personal_journals_controller.rb index 016e3e6..c936e2d 100644 --- a/app/controllers/personal_journals_controller.rb +++ b/app/controllers/personal_journals_controller.rb @@ -56,7 +56,8 @@ class PersonalJournalsController < ApplicationController choice_value = fields_to_show choice_value.unshift("paper_title")" choice_show = headers - choice_show.unshift({"head-title" => (OrbitHelper.params[:locale]!='en' ? "——選取分類——" : "——select class——")}) + choice_default = OrbitHelper.params[:locale]!='en' ? "——選取分類——" : "——select class——" + choice_show.unshift({"head-title" => choice_default }) { "journal_papers" => journal_paper_list, "headers" => headers,