forked from saurabh/personal-journal
Update personal_journals_controller.rb
This commit is contained in:
parent
2957170d63
commit
20e54be7a9
|
@ -60,7 +60,7 @@ class PersonalJournalsController < ApplicationController
|
||||||
"headers" => headers,
|
"headers" => headers,
|
||||||
"extras" => {"widget-title" => t("module_name.journal_paper")},
|
"extras" => {"widget-title" => t("module_name.journal_paper")},
|
||||||
"total_pages" => journal_papers.total_pages,
|
"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],
|
"url" => OrbitHelper.params[:locale]+OrbitHelper.params[:url],
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue