assets.debug was why assets were loud

This commit is contained in:
Devin Howard 2016-10-02 10:53:35 +08:00
parent bc139608c2
commit b3c7e12d9a
2 changed files with 13 additions and 12 deletions

View file

@ -1,5 +1,5 @@
# frozen_string_literal: true
Metamaps::Application.configure do
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb
config.log_level = :info
@ -46,5 +46,6 @@ Metamaps::Application.configure do
config.action_mailer.preview_path = '/vagrant/spec/mailers/previews'
# Expands the lines which load the assets
config.assets.debug = true
config.assets.debug = false
config.assets.quiet = true
end

View file

@ -1,13 +1,13 @@
# frozen_string_literal: true
# Be sure to restart your server when you modify this file.
Rails.application.configure do
# Version of your assets, change this if you want to expire all your assets.
config.assets.version = '2.0'
config.assets.quiet = true
# Version of your assets, change this if you want to expire all your assets.
Rails.application.config.assets.version = '2.0'
Rails.application.config.assets.quiet = true
# Add additional assets to the asset load path
# Rails.application.config.assets.paths << Emoji.images_path
# Add additional assets to the asset load path
# Rails.application.config.assets.paths << Emoji.images_path
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
Rails.application.config.assets.precompile += %w(webpacked/metamaps.bundle.js)
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
config.assets.precompile += %w(webpacked/metamaps.bundle.js)
end