mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 23:53:15 +01:00
change path priority
This commit is contained in:
parent
5326e417bf
commit
652f3516ae
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||||
|
|
Loading…
Reference in a new issue