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
2ded87ff
Commit
2ded87ff
authored
Nov 21, 2019
by
Đường Sỹ Hoàng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed double quote
parent
8d152232
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
+10
-10
app/helpers/application_helper.rb
+1
-1
bin/rake
+4
-4
config/environment.rb
+1
-1
config/initializers/assets.rb
+2
-2
db/schema.rb
+2
-2
No files found.
app/helpers/application_helper.rb
View file @
2ded87ff
module
ApplicationHelper
# Returns the full title on a per-page basis.
def
full_title
(
page_title
=
''
)
def
full_title
(
page_title
=
""
)
base_title
=
"Ruby on Rails Tutorial Sample App"
if
page_title
.
empty?
base_title
...
...
bin/rake
View file @
2ded87ff
#!/usr/bin/env ruby
begin
load
File
.
expand_path
(
'../spring'
,
__FILE__
)
load
File
.
expand_path
(
"../spring"
,
__FILE__
)
rescue
LoadError
=>
e
raise
unless
e
.
message
.
include?
(
'spring'
)
raise
unless
e
.
message
.
include?
(
"spring"
)
end
require_relative
'../config/boot'
require
'rake'
require_relative
"../config/boot"
require
"rake"
Rake
.
application
.
run
config/environment.rb
View file @
2ded87ff
# Load the Rails application.
require_relative
'application'
require_relative
"application"
# Initialize the Rails application.
Rails
.
application
.
initialize!
config/initializers/assets.rb
View file @
2ded87ff
# Be sure to restart your server when you modify this file.
# Version of your assets, change this if you want to expire all your assets.
Rails
.
application
.
config
.
assets
.
version
=
'1.0'
Rails
.
application
.
config
.
assets
.
version
=
"1.0"
# Add additional assets to the asset load path.
# Rails.application.config.assets.paths << Emoji.images_path
# Add Yarn node_modules folder to the asset load path.
Rails
.
application
.
config
.
assets
.
paths
<<
Rails
.
root
.
join
(
'node_modules'
)
Rails
.
application
.
config
.
assets
.
paths
<<
Rails
.
root
.
join
(
"node_modules"
)
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in the app/assets
...
...
db/schema.rb
View file @
2ded87ff
...
...
@@ -6,9 +6,9 @@
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you
'll amass, the slower it'
ll run and the greater likelihood for issues).
# you
"ll amass, the slower it"
ll run and the greater likelihood for issues).
#
# It
'
s strongly recommended that you check this file into your version control system.
# It
"
s strongly recommended that you check this file into your version control system.
ActiveRecord
::
Schema
.
define
(
version:
20191120093834
)
do
...
...
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