Update personal_journals_controller.rb
This commit is contained in:
parent
79f8bd8cf9
commit
73895bb08f
|
@ -55,9 +55,9 @@ class PersonalJournalsController < ApplicationController
|
|||
end
|
||||
choice_value = fields_to_show
|
||||
choice_value.unshift("paper_title")
|
||||
choice_show = headers
|
||||
choice_show = headers.select { |key,value| key == "head-title" }
|
||||
choice_default = OrbitHelper.params[:locale]!='en' ? "——選取分類——" : "——select class——"
|
||||
choice_show.unshift({"head-title" => choice_default })
|
||||
choice_show.unshift(choice_default)
|
||||
{
|
||||
"journal_papers" => journal_paper_list,
|
||||
"headers" => headers,
|
||||
|
|
Loading…
Reference in New Issue