clarion/config/initializers/assets.rb

18 lines
827 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
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"
#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]