Update personal_journals_controller.rb

This commit is contained in:
chiu 2019-08-12 18:00:03 +08:00
parent 7424582720
commit 776e296749
1 changed files with 2 additions and 1 deletions

View File

@ -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,