Update journal_papers_controller.rb
This commit is contained in:
parent
1b1eb7042c
commit
6bea0bb633
|
@ -13,7 +13,8 @@ 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 journals.collect(&:member_profile_id).uniq
|
members = get_member(journals).uniq
|
||||||
|
puts members
|
||||||
end
|
end
|
||||||
redirect_to :action=> 'index'
|
redirect_to :action=> 'index'
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue