Open isaacfreeman opened 11 years ago
We currently require applications using Breeze to include lines for handling assets as follows:
config.assets.precompile += ['breeze/breeze.css', 'breeze/breeze.js'] config.assets.precompile += ['breeze/breeze_commerce.css', 'breeze/breeze_commerce.js'] theme_names = Dir[ Rails.root.join("vendor/themes/*") ].map { |d| File.basename(d) } theme_names.each do |theme_name| config.assets.paths += [ Rails.root.join("vendor/themes/#{theme_name}/stylesheets").to_s ] config.assets.paths += [ Rails.root.join("vendor/themes/#{theme_name}/javascripts").to_s ] config.assets.paths += [ Rails.root.join("vendor/themes/#{theme_name}/images").to_s ] end
These should be moved into Breeze (and Breeze Commerce).
We currently require applications using Breeze to include lines for handling assets as follows:
These should be moved into Breeze (and Breeze Commerce).