diff --git a/app/controllers/personal_journals_controller.rb b/app/controllers/personal_journals_controller.rb index cb4240f..0b7bbd1 100644 --- a/app/controllers/personal_journals_controller.rb +++ b/app/controllers/personal_journals_controller.rb @@ -60,7 +60,7 @@ class PersonalJournalsController < ApplicationController "headers" => headers, "extras" => {"widget-title" => t("module_name.journal_paper")}, "total_pages" => journal_papers.total_pages, - "choice" => {"choice_value" => choice_value.prepend "paper_title","choice_show" => choice_show.prepend {"head-title"=>OrbitHelper.params[:locale]!='en' ? "——選取分類——" : "——select class——"}} + "choice" => {"choice_value" => choice_value.unshift "paper_title","choice_show" => choice_show.unshift {"head-title"=>OrbitHelper.params[:locale]!='en' ? "——選取分類——" : "——select class——"}} "url" => OrbitHelper.params[:locale]+OrbitHelper.params[:url], } end