From 1d6e584c9922b7ea5128f058a6040db22aa229aa Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 1 Nov 2019 22:05:56 +0800 Subject: [PATCH] Update journal_papers_controller.rb --- app/controllers/admin/journal_papers_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/journal_papers_controller.rb b/app/controllers/admin/journal_papers_controller.rb index 65355b7..25b0d5d 100644 --- a/app/controllers/admin/journal_papers_controller.rb +++ b/app/controllers/admin/journal_papers_controller.rb @@ -14,7 +14,7 @@ class Admin::JournalPapersController < OrbitMemberController journal_ids = journal_id.split('/') journals = JournalPaper.find(journal_ids) members = get_member(journals).uniq - puts members + puts journals[0] end redirect_to :action=> 'index' end