lib/pakyow/assets/behavior/processing.rb in pakyow-assets-1.0.0.rc3 vs lib/pakyow/assets/behavior/processing.rb in pakyow-assets-1.0.0.rc4
- old
+ new
@@ -11,10 +11,10 @@
apply_extension do
on "load" do
if self.class.includes_framework?(:presenter)
self.class.processor :html do |content|
state(:asset).each do |asset|
- content.gsub!(asset.logical_path, asset.public_path)
+ content.gsub!(asset.logical_path, File.join(config.assets.host, asset.public_path))
end
content
end
end