mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Precompile all engine-specific assets
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user