diff --git a/lib/chili/eaterprises_feature/lib/eaterprises_feature/engine.rb b/lib/chili/eaterprises_feature/lib/eaterprises_feature/engine.rb index 04ac3369c3..63bb988596 100644 --- a/lib/chili/eaterprises_feature/lib/eaterprises_feature/engine.rb +++ b/lib/chili/eaterprises_feature/lib/eaterprises_feature/engine.rb @@ -6,6 +6,10 @@ module EaterprisesFeature initializer 'eaterprises_feature.sass', :after => :load_config_initializers do |app| app.config.sass.load_paths += [self.root.join('app', 'assets', 'stylesheets', 'eaterprises_feature')] end + + initializer :assets do |app| + app.config.assets.precompile += ['eaterprises_feature/*'] + end end end end diff --git a/lib/chili/local_organics_feature/lib/local_organics_feature/engine.rb b/lib/chili/local_organics_feature/lib/local_organics_feature/engine.rb index 10e11fc00a..9483466be6 100644 --- a/lib/chili/local_organics_feature/lib/local_organics_feature/engine.rb +++ b/lib/chili/local_organics_feature/lib/local_organics_feature/engine.rb @@ -6,6 +6,10 @@ module LocalOrganicsFeature initializer 'local_organics_feature.sass', :after => :load_config_initializers do |app| app.config.sass.load_paths += [self.root.join('app', 'assets', 'stylesheets', 'local_organics_feature')] end + + initializer :assets do |app| + app.config.assets.precompile += ['local_organics_feature/*'] + end end end end