mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-07 13:38:12 -08:00
chore: move precompile definition to engine.rb
This commit is contained in:
parent
6f73369291
commit
a2491aa512
3 changed files with 8 additions and 3 deletions
|
|
@ -9,5 +9,10 @@ module Dashboard
|
|||
g.fixture_replacement :factory_bot
|
||||
g.factory_bot dir: "spec/factories"
|
||||
end
|
||||
|
||||
# Ensure engine's assets are precompiled
|
||||
initializer "dashboard.assets.precompile" do |app|
|
||||
app.config.assets.precompile += %w[dashboard.js sqm.css welcome.css]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue