forked from saurabh/personal-journal
Update personal_journals_controller.rb
This commit is contained in:
parent
710a8dcbd7
commit
68aa8f8b81
|
@ -92,6 +92,7 @@ class PersonalJournalsController < ApplicationController
|
||||||
choice_show.unshift(choice_default)
|
choice_show.unshift(choice_default)
|
||||||
choice_show=choice_show.map{|value| {"choice_show" => value}}
|
choice_show=choice_show.map{|value| {"choice_show" => value}}
|
||||||
choice=choice_value.zip(choice_show)
|
choice=choice_value.zip(choice_show)
|
||||||
|
choice=choice.map{|value| value[0].merge(value[1])}
|
||||||
select_text = params[:locale]!='en' ? "搜尋類別:" : "search class:"
|
select_text = params[:locale]!='en' ? "搜尋類別:" : "search class:"
|
||||||
search_text = params[:locale]!='en' ? "關鍵字搜尋:" : "word to search:"
|
search_text = params[:locale]!='en' ? "關鍵字搜尋:" : "word to search:"
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue