From d24928dd255e4720d86f750aa87b5ff3a79476ba Mon Sep 17 00:00:00 2001 From: chiu Date: Wed, 21 Aug 2019 12:24:52 +0800 Subject: [PATCH] Update personal_journals_controller.rb --- app/controllers/personal_journals_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/personal_journals_controller.rb b/app/controllers/personal_journals_controller.rb index 2ea8766..60de3b2 100644 --- a/app/controllers/personal_journals_controller.rb +++ b/app/controllers/personal_journals_controller.rb @@ -1,6 +1,7 @@ class PersonalJournalsController < ApplicationController def index ENV['all_root'] = Rails.root + puts ENV['all_root'] params = OrbitHelper.params page_data_count = OrbitHelper.page_data_count journal_papers = JournalPaper.where(is_hidden: false).sort_for_frontend.page(OrbitHelper.params[:page_no]).per(page_data_count)