From b9d132741083172b4170305679fa74f5a332b82f Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Thu, 2 Jun 2016 17:56:23 +0800 Subject: [PATCH] small change in routes --- config/routes.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index 510e2a4..ae2c340 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -9,8 +9,8 @@ Rails.application.routes.draw do resources :journal_papers do collection do get 'toggle_hide' => 'journal_papers#toggle_hide' - get 'analysis' => 'journal_papers#analysis' - get 'analysis_report' => 'journal_papers#analysis_report' + get 'analysis' + get 'analysis_report' get "download_excel" end end