metamaps--metamaps/config/initializers/assets.rb

15 lines
558 B
Ruby
Raw Normal View History

2016-09-24 03:00:46 +00:00
# frozen_string_literal: true
2017-11-06 16:15:18 +00:00
2016-10-02 02:53:35 +00:00
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
2016-10-02 02:53:35 +00:00
# Add additional assets to the asset load path
# Rails.application.config.assets.paths << Emoji.images_path
2016-10-02 02:53:35 +00:00
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
2017-11-06 16:15:18 +00:00
config.assets.precompile += %w(application-secret.css application-secret.js webpacked/metamaps.bundle.js)
2016-10-02 02:53:35 +00:00
end