2016-02-21 08:53:20 +11:00
|
|
|
# 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'
|
|
|
|
|
|
|
|
# Add additional assets to the asset load path
|
2016-11-09 07:45:51 +11:00
|
|
|
# Rails.application.config.assets.paths << 'node_modules'
|
2016-02-21 08:53:20 +11:00
|
|
|
|
|
|
|
# Precompile additional assets.
|
|
|
|
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
|
2017-04-16 06:47:48 +10:00
|
|
|
Rails.application.config.assets.precompile += %w(application_public.js custom.css)
|
|
|
|
|
2016-11-16 09:56:03 +11:00
|
|
|
Rails.application.config.assets.initialize_on_precompile = true
|