From 139188e021506557eb770a55f01c532f10e21cd4 Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Mon, 22 Apr 2013 17:37:02 +1000 Subject: [PATCH] Turn on asset init on precompile - now precompile can find assets stored in engines (lib/chili/...), but this breaks Heroku deployment --- config/application.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/application.rb b/config/application.rb index fa5411b9a6..57edadea95 100644 --- a/config/application.rb +++ b/config/application.rb @@ -72,7 +72,7 @@ module Openfoodweb # Version of your assets, change this if you want to expire all your assets config.assets.version = '1.0' - config.assets.initialize_on_precompile = false + config.assets.initialize_on_precompile = true config.assets.precompile += ['store/all.css', 'store/all.js', 'admin/all.css', 'admin/*.js', 'admin/**/*.js', 'comfortable_mexican_sofa/*'] end end