/ as root

This commit is contained in:
Joerg Reichert 2016-04-10 20:32:49 +02:00
parent cc17cd5f16
commit 64d40a3e9c
2 changed files with 1 additions and 24 deletions

View file

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