Ensure css is precompiled, reformat configs

This commit is contained in:
Rohan Mitchell
2013-11-01 11:09:23 +11:00
parent 9f150c8d87
commit 25b0306a93
3 changed files with 6 additions and 2 deletions

View File

@@ -11,7 +11,7 @@
'comfortable_mexican_sofa/jquery_ui',
'comfortable_mexican_sofa/dialogs',
'comfortable_mexican_sofa/widgets',
'shared/restore_spree_from_cms'
'admin/restore_spree_from_cms'
= javascript_include_tag('comfortable_mexican_sofa/application')

View File

@@ -76,6 +76,10 @@ module Openfoodnetwork
config.assets.version = '1.0'
config.assets.initialize_on_precompile = true
config.assets.precompile += ['store/all.css', 'store/all.js', 'store/shop_front.js', 'admin/all.css', 'admin/*.js', 'admin/**/*.js', 'comfortable_mexican_sofa/*', 'search/all.css', 'search/*.js']
config.assets.precompile += ['store/all.css', 'store/all.js', 'store/shop_front.js']
config.assets.precompile += ['admin/all.css', 'admin/*.js', 'admin/**/*.js']
config.assets.precompile += ['comfortable_mexican_sofa/*']
config.assets.precompile += ['search/all.css', 'search/*.js']
config.assets.precompile += ['shared/*']
end
end