clarion/config/initializers/assets.rb

20 lines
954 B
Ruby
Raw Permalink 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.
2019-04-28 21:10:54 +03:00
Rails.application.config.assets.version = "1.0"
2014-07-28 12:34:18 +03:00
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.
2019-04-28 21:10:54 +03:00
Rails.application.config.assets.paths << Rails.root.join("node_modules")
2019-04-28 02:22:59 +03:00
2019-04-28 21:10:54 +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"
2015-08-15 04:33:02 +03:00
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.
2019-04-28 21:10:54 +03:00
Rails.application.config.assets.precompile += %w[management/application.css management/application.js]