diff --git a/app/controllers/admin/journal_papers_controller.rb b/app/controllers/admin/journal_papers_controller.rb index 7976f5b..65355b7 100644 --- a/app/controllers/admin/journal_papers_controller.rb +++ b/app/controllers/admin/journal_papers_controller.rb @@ -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