Explicitly specify depend_on relationship between assets and config

This commit is contained in:
Sebastian Serth
2024-05-08 22:28:59 +03:00
committed by Sebastian Serth
parent 336519b21d
commit 65416934ea
2 changed files with 9 additions and 7 deletions

View File

@ -6,7 +6,8 @@
Rails.application.config.assets.version = '1.1'
# Add additional assets to the asset load path.
# Rails.application.config.assets.paths << Emoji.images_path
# We require the config directory to enable asset dependencies on CodeOcean::Config values (stored as YML files in `config`).
Rails.application.config.assets.paths << Rails.root.join('config')
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in the app/assets