demarches-normaliennes/config/initializers/assets.rb

13 lines
722 B
Ruby
Raw Normal View History

2015-08-10 11:05:06 +02: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
2019-04-09 15:44:36 +02:00
Rails.application.config.assets.paths << Rails.root.join('node_modules', 'trix', 'dist')
Rails.application.config.assets.paths << Rails.root.join('node_modules', 'select2', 'dist', 'css')
2015-08-10 11:05:06 +02:00
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
2018-10-01 13:55:12 +02:00
Rails.application.config.assets.precompile += ['print.css', 'new_design/new_application.css', 'new_design/print.css', 'new_design/application.js', 'new_design/manager.css']