From 9ad6002d2ea53726649f75a15a7856b80710e4f3 Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 1 Nov 2019 21:58:03 +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 6bb69db..7976f5b 100644 --- a/app/controllers/admin/journal_papers_controller.rb +++ b/app/controllers/admin/journal_papers_controller.rb @@ -13,7 +13,7 @@ class Admin::JournalPapersController < OrbitMemberController params['journal_id'].each do |journal_id| journal_ids = journal_id.split('/') journals = JournalPaper.find(journal_ids) - puts get_member(journals) + puts journals.collect(&:member_profile_id).uniq end redirect_to :action=> 'index' end