1
0
Fork 0
forked from fedi/mastodon
mastodon/config/initializers/assets.rb

15 lines
567 B
Ruby
Raw Normal View History

2016-02-20 21:53:20 +00: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'
2023-07-02 08:38:53 +00:00
# Add additional assets to the asset load path.
# Rails.application.config.assets.paths << Emoji.images_path
2016-02-20 21:53:20 +00:00
# Precompile additional assets.
2023-07-02 08:38:53 +00:00
# application.js, application.css, and all non-JS/CSS in the app/assets
# folder are already added.
# Rails.application.config.assets.precompile += %w( admin.js admin.css )
Rails.application.config.assets.initialize_on_precompile = true