From 652f3516aed98c17afd4af127029d143ba32dbb3 Mon Sep 17 00:00:00 2001 From: Joerg Reichert Date: Sun, 10 Apr 2016 14:56:00 +0200 Subject: [PATCH] change path priority --- config/routes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/routes.rb b/config/routes.rb index 4a9dd66..7d013d1 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,8 +1,8 @@ Rails.application.routes.draw do # root to: redirect { |path_params| "/leipzig" } - get '/' => 'search#index', as: :search post '/import' => 'import#new_papers_callback' + get '/' => 'search#index', as: :search # Example of regular route: # get 'products/:id' => 'catalog#view'