Update journal_papers_controller.rb

This commit is contained in:
chiu 2019-11-01 21:58:03 +08:00
parent 0651e089b8
commit 9ad6002d2e
1 changed files with 1 additions and 1 deletions

View File

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