clarion/config/initializers/assets.rb

20 lines
956 B
Ruby
Raw Normal View History

2014-07-28 12:34:18 +03: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'
2019-04-28 02:22:59 +03:00
# Add additional assets to the asset load path.
# Rails.application.config.assets.paths << Emoji.images_path
2019-04-28 02:22:59 +03:00
# Add Yarn node_modules folder to the asset load path.
Rails.application.config.assets.paths << Rails.root.join('node_modules')
2015-08-15 04:33:02 +03:00
Rails.application.config.assets.paths << 'lib/initfest/assets/images'
Rails.application.config.assets.paths << 'lib/initfest/assets/javascripts'
Rails.application.config.assets.paths << 'lib/initfest/assets/stylesheets'
Rails.application.config.assets.precompile << /\.(?:png|jpg|jpeg|gif)\z/
2014-07-28 12:34:18 +03:00
# Precompile additional assets.
2019-04-28 02:22:59 +03:00
# application.js, application.css, and all non-JS/CSS in the app/assets
# folder are already added.
2014-09-17 12:42:37 +03:00
Rails.application.config.assets.precompile += %w( management/application.css management/application.js )