remove HOME Page, because redundant
show search page as default
This commit is contained in:
+1
-5
@@ -2,10 +2,6 @@ Rails.application.routes.draw do
|
||||
|
||||
devise_for :users, path_names: {sign_in: 'log_in', sign_out: 'log out'}
|
||||
|
||||
namespace :login do
|
||||
get 'index'
|
||||
end
|
||||
|
||||
namespace :tiss_crawler do
|
||||
get 'search'
|
||||
end
|
||||
@@ -35,5 +31,5 @@ Rails.application.routes.draw do
|
||||
end
|
||||
|
||||
# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
|
||||
root 'login#index'
|
||||
root 'tiss_crawler#search'
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user