forked from saurabh/personal-journal
Update personal_journals_controller.rb
This commit is contained in:
parent
003d982cff
commit
1295cb50e9
|
@ -102,10 +102,10 @@ class PersonalJournalsController < ApplicationController
|
||||||
"url" => "/"+params[:locale]+params[:url],
|
"url" => "/"+params[:locale]+params[:url],
|
||||||
"select_text" => select_text,
|
"select_text" => select_text,
|
||||||
"search_text" => search_text,
|
"search_text" => search_text,
|
||||||
"selected" => params[:selectbox],
|
|
||||||
"search_value" => params[:keywords]},
|
"search_value" => params[:keywords]},
|
||||||
"total_pages" => journal_papers_total_pages,
|
"total_pages" => journal_papers_total_pages,
|
||||||
"choice" => choice
|
"choice" => choice,
|
||||||
|
"selected" => [{"value" => params[:selectbox]}]
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue