From fe17ec215b3b984d95c92648dbfddbe001dd74be Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 1 Nov 2019 21:45:27 +0800 Subject: [PATCH] Update journal_papers_controller.rb --- app/controllers/admin/journal_papers_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/journal_papers_controller.rb b/app/controllers/admin/journal_papers_controller.rb index f56a117..e99fdf9 100644 --- a/app/controllers/admin/journal_papers_controller.rb +++ b/app/controllers/admin/journal_papers_controller.rb @@ -11,7 +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' + redirect_to :action=> 'index' end def merge @journals=JournalPaper.order_by(:year=>'desc').map{|value| value}.group_by{|v| [v[:paper_title],v[:journal_title]]}