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