lib/classy_assets/configuration.rb in classy_assets-0.4.0 vs lib/classy_assets/configuration.rb in classy_assets-0.4.1
- old
+ new
@@ -80,12 +80,10 @@
end
end
@sprockets.context_class.class_eval do
def asset_path(path, options = {})
- depend_on_asset(path)
- asset = environment.find_asset(path)
- ClassyAssets.asset_url_for(asset.logical_path)
+ ClassyAssets.asset_url_for(path)
end
end
@sprockets
end