From 1bc7e8a065e0aadc06f77c0d2cc2869103bd990d Mon Sep 17 00:00:00 2001 From: chiu Date: Thu, 31 Oct 2019 20:56:14 +0800 Subject: [PATCH] Update journal_papers_controller.rb --- app/controllers/admin/journal_papers_controller.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/controllers/admin/journal_papers_controller.rb b/app/controllers/admin/journal_papers_controller.rb index 6ccf871..de6d0b2 100644 --- a/app/controllers/admin/journal_papers_controller.rb +++ b/app/controllers/admin/journal_papers_controller.rb @@ -40,6 +40,7 @@ class Admin::JournalPapersController < OrbitMemberController end end end + puts ['hi',@journals] end def index @writing_journals = JournalPaper.order_by(:year=>'desc').page(params[:page]).per(10)