forked from saurabh/personal-journal
Update personal_journals_controller.rb
This commit is contained in:
parent
186d1b2e06
commit
f811f12a43
|
@ -111,7 +111,7 @@ class PersonalJournalsController < ApplicationController
|
||||||
"choice" => {"choice_value" => choice_value ,"choice_show" => choice_show},
|
"choice" => {"choice_value" => choice_value ,"choice_show" => choice_show},
|
||||||
"url" => "/"+params[:locale]+params[:url],
|
"url" => "/"+params[:locale]+params[:url],
|
||||||
"all" => journal_papers_show,
|
"all" => journal_papers_show,
|
||||||
"all_n" => JournalPaper.where(:is_hidden=>false).take(2)
|
"all_n" => JournalPaper.where(:is_hidden=>false).take(100)
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue