From ee2311c1abe63ff822c68daafc537b7090dfb34b Mon Sep 17 00:00:00 2001 From: chiu Date: Wed, 21 Aug 2019 17:08:29 +0800 Subject: [PATCH] Update personal_journals_controller.rb --- app/controllers/personal_journals_controller.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/controllers/personal_journals_controller.rb b/app/controllers/personal_journals_controller.rb index 0961b5f..8b3c826 100644 --- a/app/controllers/personal_journals_controller.rb +++ b/app/controllers/personal_journals_controller.rb @@ -1,7 +1,5 @@ class PersonalJournalsController < ApplicationController def index - ENV['all_root'] = Rails.root - puts Rails.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)