Commit a24b0a58 by Đường Sỹ Hoàng

static pages fix

parent 8002091a
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
// Place all the styles related to the StaticPages controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
...@@ -10,5 +10,4 @@ class StaticPagesController < ApplicationController ...@@ -10,5 +10,4 @@ class StaticPagesController < ApplicationController
def contact def contact
end end
end end
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> <%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
</head> </head>
<body> <body>
<%= yield %> <%= yield %>
</body> </body>
......
...@@ -4,6 +4,5 @@ Rails.application.routes.draw do ...@@ -4,6 +4,5 @@ Rails.application.routes.draw do
get 'static_pages/about' get 'static_pages/about'
get 'static_pages/contact' get 'static_pages/contact'
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
root 'static_pages#home' root 'static_pages#home'
end 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