Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sample_app
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Đường Sỹ Hoàng
sample_app
Commits
a24b0a58
Commit
a24b0a58
authored
Nov 06, 2019
by
Đường Sỹ Hoàng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
static pages fix
parent
8002091a
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
0 additions
and
9 deletions
+0
-9
app/assets/javascripts/static_pages.coffee
+0
-3
app/assets/stylesheets/static_pages.scss
+0
-3
app/controllers/static_pages_controller.rb
+0
-1
app/views/layouts/application.html.erb
+0
-1
app/views/static_pages/about.html.erb
+0
-0
app/views/static_pages/contact.html.erb
+0
-0
app/views/static_pages/help.html.erb
+0
-0
app/views/static_pages/home.html.erb
+0
-0
config/routes.rb
+0
-1
test/controllers/static_pages_controller_test.rb
+0
-0
No files found.
app/assets/javascripts/static_pages.coffee
deleted
100644 → 0
View file @
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/
app/assets/stylesheets/static_pages.scss
deleted
100644 → 0
View file @
8002091a
// 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/
app/controllers/static_pages_controller.rb
View file @
a24b0a58
...
...
@@ -10,5 +10,4 @@ class StaticPagesController < ApplicationController
def
contact
end
end
app/views/layouts/application.html.erb
View file @
a24b0a58
...
...
@@ -7,7 +7,6 @@
<%=
stylesheet_link_tag
'application'
,
media:
'all'
,
'data-turbolinks-track'
:
'reload'
%>
<%=
javascript_include_tag
'application'
,
'data-turbolinks-track'
:
'reload'
%>
</head>
<body>
<%=
yield
%>
</body>
...
...
app/views/static_pages/about.html.erb
View file @
a24b0a58
app/views/static_pages/contact.html.erb
View file @
a24b0a58
app/views/static_pages/help.html.erb
View file @
a24b0a58
app/views/static_pages/home.html.erb
View file @
a24b0a58
config/routes.rb
View file @
a24b0a58
...
...
@@ -4,6 +4,5 @@ Rails.application.routes.draw do
get
'static_pages/about'
get
'static_pages/contact'
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
root
'static_pages#home'
end
test/controllers/static_pages_controller_test.rb
View file @
a24b0a58
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment