From 0651e089b89953011f48544c191804d92f38d0e8 Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 1 Nov 2019 21:56:07 +0800 Subject: [PATCH] Update journal_papers_controller.rb --- app/controllers/admin/journal_papers_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/controllers/admin/journal_papers_controller.rb b/app/controllers/admin/journal_papers_controller.rb index ff2ffa2..6bb69db 100644 --- a/app/controllers/admin/journal_papers_controller.rb +++ b/app/controllers/admin/journal_papers_controller.rb @@ -12,7 +12,8 @@ class Admin::JournalPapersController < OrbitMemberController def merge_process params['journal_id'].each do |journal_id| journal_ids = journal_id.split('/') - puts JournalPaper.find(journal_ids) + journals = JournalPaper.find(journal_ids) + puts get_member(journals) end redirect_to :action=> 'index' end