Update journal_papers_controller.rb

This commit is contained in:
chiu 2019-10-31 20:56:14 +08:00
parent 4b14f3940b
commit 1bc7e8a065
1 changed files with 1 additions and 0 deletions

View File

@ -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)