forked from saurabh/personal-journal
Update personal_journals_controller.rb
This commit is contained in:
parent
379df9fd9d
commit
9e40cbb8e9
|
@ -55,7 +55,7 @@ class PersonalJournalsController < ApplicationController
|
||||||
end
|
end
|
||||||
choice_value = fields_to_show
|
choice_value = fields_to_show
|
||||||
choice_value.unshift("paper_title")
|
choice_value.unshift("paper_title")
|
||||||
choice_show = headers.select { |array| array["head-title"] }
|
choice_show = headers.select ( :"head-title" )
|
||||||
choice_default = OrbitHelper.params[:locale]!='en' ? "——選取分類——" : "——select class——"
|
choice_default = OrbitHelper.params[:locale]!='en' ? "——選取分類——" : "——select class——"
|
||||||
choice_show.unshift(choice_default)
|
choice_show.unshift(choice_default)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue