mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 15:43:14 +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
|
||||
root 'search#index'
|
||||
get '/' => 'search#index', as: :search
|
||||
root to: redirect { |path_params| "/leipzig" }
|
||||
|
||||
scope ':body' do
|
||||
get '/' => 'search#index', as: :search
|
||||
end
|
||||
|
||||
post '/auth/:provider/callback', to: 'sessions#create'
|
||||
get '/auth/browser_id', as: 'sign_in'
|
||||
|
|
Loading…
Reference in a new issue