diff --git a/app/controllers/admin/journal_papers_controller.rb b/app/controllers/admin/journal_papers_controller.rb index 669e5ed..f56a117 100644 --- a/app/controllers/admin/journal_papers_controller.rb +++ b/app/controllers/admin/journal_papers_controller.rb @@ -11,6 +11,7 @@ class Admin::JournalPapersController < OrbitMemberController before_action :allow_admin_only, :only => [:index, :setting] def merge_process puts ['id1',params['journal_id']] + redirect_to 'index' end def merge @journals=JournalPaper.order_by(:year=>'desc').map{|value| value}.group_by{|v| [v[:paper_title],v[:journal_title]]}