Static pages
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
-
app/assets/javascripts/static_pages.coffee 0 → 100644
1 # Place all the behaviors and hooks related to the matching controller here. -
Master
không dùng thì xóa file này đi
-
-
-
app/assets/stylesheets/static_pages.scss 0 → 100644
1 // Place all the styles related to the StaticPages controller here. -
Master
không dùng thì xóa file này đi
-
-
-
app/controllers/static_pages_controller.rb 0 → 100644
1 class StaticPagesController < ApplicationController 2 def home 3 end 4 5 def help 6 end 7 8 def about 9 end 10 11 def contact 12 end 13 -
Master
xóa dòng trống ở đây
-
-
-
1 1 Rails.application.routes.draw do 2 get 'static_pages/home' 3 get 'static_pages/help' 4 get 'static_pages/about' 5 get 'static_pages/contact' 2 6 # For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html 3 7 4 root 'application#hello' 8 root 'static_pages#home' -
Master
indentation, căn thẳng hàng với các dòng trên
-
-
-
1 require 'test_helper' -
Master
sử dụng thống nhất
" -
-
-
1 1 Rails.application.routes.draw do 2 get 'static_pages/home' -
Master
sử dụng double quote
" -
-
-
-
Toggle commit list
-
merged
Toggle commit list