diff --git a/app/controllers/admin/journal_papers_controller.rb b/app/controllers/admin/journal_papers_controller.rb index 6bb69db..7976f5b 100644 --- a/app/controllers/admin/journal_papers_controller.rb +++ b/app/controllers/admin/journal_papers_controller.rb @@ -13,7 +13,7 @@ class Admin::JournalPapersController < OrbitMemberController params['journal_id'].each do |journal_id| journal_ids = journal_id.split('/') journals = JournalPaper.find(journal_ids) - puts get_member(journals) + puts journals.collect(&:member_profile_id).uniq end redirect_to :action=> 'index' end