mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 23:53:15 +01:00
Redirect to default body ‘/leipzig’ #21
This commit is contained in:
parent
be19256457
commit
72b3fc5672
1 changed files with 5 additions and 2 deletions
|
@ -1,6 +1,9 @@
|
||||||
Rails.application.routes.draw do
|
Rails.application.routes.draw do
|
||||||
root 'search#index'
|
root to: redirect { |path_params| "/leipzig" }
|
||||||
get '/' => 'search#index', as: :search
|
|
||||||
|
scope ':body' do
|
||||||
|
get '/' => 'search#index', as: :search
|
||||||
|
end
|
||||||
|
|
||||||
post '/auth/:provider/callback', to: 'sessions#create'
|
post '/auth/:provider/callback', to: 'sessions#create'
|
||||||
get '/auth/browser_id', as: 'sign_in'
|
get '/auth/browser_id', as: 'sign_in'
|
||||||
|
|
Loading…
Reference in a new issue