Commit 639a75a6 by nnnghia98

delete 2 routes

parent c6834db2
......@@ -9,8 +9,8 @@
<li class="list-inline-item"><%= link_to "Register", "#" %></li>
</li>
<li class="list-item">
<li class="list-inline-item"><%= link_to "Favorite", favorite_path %></li>
<li class="list-inline-item"><%= link_to "History", history_path %></li>
<li class="list-inline-item"><%= link_to "Favorite", "#" %></li>
<li class="list-inline-item"><%= link_to "History", "#" %></li>
</li>
</ul>
</ul>
......
......@@ -3,6 +3,4 @@ Rails.application.routes.draw do
# For details on the DSL available within this file, see https://guides.rubyonrails.org/routing.html
root "static_pages#index"
get "static_pages/index"
get "/favorite", to: "static_pages#favorite"
get "/history",to: "static_pages#history"
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment