lib/jekyll/assets_plugin/environment/context_patch.rb in jekyll-assets-0.3.1 vs lib/jekyll/assets_plugin/environment/context_patch.rb in jekyll-assets-0.3.2
- old
+ new
@@ -7,10 +7,10 @@
self.class.instance_variable_get :@site
end
def asset_path *args
- "#{site.assets_config.baseurl}/#{site.assets[*args].digest_path}"
+ site.asset_path(*args)
end
end
end
end