mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
Make PaperSearch persistent
This commit is contained in:
parent
82c2e7e6b8
commit
fce65636f7
3 changed files with 23 additions and 12 deletions
|
@ -2,7 +2,8 @@ Rails.application.routes.draw do
|
|||
root to: redirect { |path_params| "/leipzig" }
|
||||
|
||||
scope ':body' do
|
||||
get '/' => 'search#index', as: :search
|
||||
get '/' => 'search#index', as: :search
|
||||
get '/:id' => 'search#show', as: :saved_search
|
||||
end
|
||||
|
||||
post '/auth/:provider/callback', to: 'sessions#create'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue