Update journal_papers_controller.rb

This commit is contained in:
chiu 2019-11-01 22:04:28 +08:00
parent 1b1eb7042c
commit 6bea0bb633
1 changed files with 2 additions and 1 deletions

View File

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