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
8c72d08e
Commit
8c72d08e
authored
Nov 13, 2019
by
Đường Sỹ Hoàng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced with double quote
parent
19469656
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
app/views/static_pages/home.html.erb
+1
-2
config/application.rb
+3
-3
config/boot.rb
+2
-2
No files found.
app/views/static_pages/home.html.erb
View file @
8c72d08e
...
...
@@ -10,5 +10,4 @@
<%=
link_to
"Sign up now!"
,
signup_path
,
class:
"btn btn-lg btn-primary"
%>
</div>
<%=
link_to
image_tag
(
"rails.png"
,
alt:
"Rails logo"
),
'http://rubyonrails.org/'
%>
<%=
link_to
image_tag
(
"rails.png"
,
alt:
"Rails logo"
),
"http://rubyonrails.org/"
%>
config/application.rb
View file @
8c72d08e
require_relative
'boot'
require_relative
"boot"
require
'rails/all'
require
"rails/all"
# Require the gems listed in Gemfile, including any gems
# you
'
ve limited to :test, :development, or :production.
# you
"
ve limited to :test, :development, or :production.
Bundler
.
require
(
*
Rails
.
groups
)
module
SampleApp
...
...
config/boot.rb
View file @
8c72d08e
ENV
[
'BUNDLE_GEMFILE'
]
||=
File
.
expand_path
(
'../Gemfile'
,
__dir__
)
ENV
[
"BUNDLE_GEMFILE"
]
||=
File
.
expand_path
(
"../Gemfile"
,
__dir__
)
require
'bundler/setup'
# Set up gems listed in the Gemfile.
require
"bundler/setup"
# Set up gems listed in the Gemfile.
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