remove HOME Page, because redundant
show search page as default
This commit is contained in:
parent
16ae8fd87b
commit
415ed22f6e
@ -1,4 +0,0 @@
|
||||
class LoginController < ApplicationController
|
||||
def index
|
||||
end
|
||||
end
|
||||
@ -1,2 +0,0 @@
|
||||
<%= render(:partial => "nav")%>
|
||||
|
||||
@ -20,9 +20,8 @@
|
||||
</label>
|
||||
<a href="#" class="logo">tiss2go</a>
|
||||
<div class="left-menu">
|
||||
<%= link_to 'Home', root_path %>
|
||||
<%= link_to 'Search TISS', tiss_crawler_search_path %>
|
||||
<%= link_to 'Your Favorites', '/favorites/index' %>
|
||||
<%= link_to 'Your Favorites', favorites_people_path %>
|
||||
</div>
|
||||
<div class="right-menu">
|
||||
<% if user_signed_in? %>
|
||||
|
||||
@ -1,2 +0,0 @@
|
||||
<h1>Successfully logged in</h1>
|
||||
<p>Now you can crawl Tiss</p>
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user