lib/classy_assets/sprockets.rb in classy_assets-0.9.3 vs lib/classy_assets/sprockets.rb in classy_assets-0.9.4
- old
+ new
@@ -11,10 +11,10 @@
end
private
def new_sprockets_environment
- @environment = ::Sprockets::Environment.new(asset_root)
+ @environment = ::Sprockets::Environment.new(asset_root) { @version = ClassyAssets::VERSION }
ClassyAssets.config.asset_paths.each do |asset_path|
@environment.append_path asset_path
end