Update journal_papers_controller.rb

This commit is contained in:
chiu 2019-11-01 21:56:07 +08:00
parent 09151df374
commit 0651e089b8
1 changed files with 2 additions and 1 deletions

View File

@ -12,7 +12,8 @@ class Admin::JournalPapersController < OrbitMemberController
def merge_process def merge_process
params['journal_id'].each do |journal_id| params['journal_id'].each do |journal_id|
journal_ids = journal_id.split('/') journal_ids = journal_id.split('/')
puts JournalPaper.find(journal_ids) journals = JournalPaper.find(journal_ids)
puts get_member(journals)
end end
redirect_to :action=> 'index' redirect_to :action=> 'index'
end end