change path priority

This commit is contained in:
Joerg Reichert 2016-04-10 14:56:00 +02:00
parent 5326e417bf
commit 652f3516ae

View file

@ -1,8 +1,8 @@
Rails.application.routes.draw do Rails.application.routes.draw do
# root to: redirect { |path_params| "/leipzig" } # root to: redirect { |path_params| "/leipzig" }
get '/' => 'search#index', as: :search
post '/import' => 'import#new_papers_callback' post '/import' => 'import#new_papers_callback'
get '/' => 'search#index', as: :search
# Example of regular route: # Example of regular route:
# get 'products/:id' => 'catalog#view' # get 'products/:id' => 'catalog#view'