Commit 2ded87ff by Đường Sỹ Hoàng

Fixed double quote

parent 8d152232
module ApplicationHelper module ApplicationHelper
# Returns the full title on a per-page basis. # 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" base_title = "Ruby on Rails Tutorial Sample App"
if page_title.empty? if page_title.empty?
base_title base_title
......
#!/usr/bin/env ruby #!/usr/bin/env ruby
begin begin
load File.expand_path('../spring', __FILE__) load File.expand_path("../spring", __FILE__)
rescue LoadError => e rescue LoadError => e
raise unless e.message.include?('spring') raise unless e.message.include?("spring")
end end
require_relative '../config/boot' require_relative "../config/boot"
require 'rake' require "rake"
Rake.application.run Rake.application.run
# Load the Rails application. # Load the Rails application.
require_relative 'application' require_relative "application"
# Initialize the Rails application. # Initialize the Rails application.
Rails.application.initialize! Rails.application.initialize!
# Be sure to restart your server when you modify this file. # 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. # 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. # Add additional assets to the asset load path.
# Rails.application.config.assets.paths << Emoji.images_path # Rails.application.config.assets.paths << Emoji.images_path
# Add Yarn node_modules folder to the asset load 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. # Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in the app/assets # application.js, application.css, and all non-JS/CSS in the app/assets
......
...@@ -6,9 +6,9 @@ ...@@ -6,9 +6,9 @@
# database schema. If you need to create the application database on another # 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 # 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 # 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 ActiveRecord::Schema.define(version: 20191120093834) do
......
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