From f811f12a43edd783df50ff38f1e95ceb03663ce7 Mon Sep 17 00:00:00 2001 From: chiu Date: Tue, 13 Aug 2019 14:36:51 +0800 Subject: [PATCH] Update personal_journals_controller.rb --- app/controllers/personal_journals_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/personal_journals_controller.rb b/app/controllers/personal_journals_controller.rb index 0499ea2..743edfd 100644 --- a/app/controllers/personal_journals_controller.rb +++ b/app/controllers/personal_journals_controller.rb @@ -111,7 +111,7 @@ class PersonalJournalsController < ApplicationController "choice" => {"choice_value" => choice_value ,"choice_show" => choice_show}, "url" => "/"+params[:locale]+params[:url], "all" => journal_papers_show, - "all_n" => JournalPaper.where(:is_hidden=>false).take(2) + "all_n" => JournalPaper.where(:is_hidden=>false).take(100) } end