Sha256: 734fc3d3d33e0dfa2abceb8152c387011f08384830cd27e83395360f122c02ff
Contents?: true
Size: 619 Bytes
Versions: 2
Compression:
Stored size: 619 Bytes
Contents
# frozen_string_literal: true require "pakyow/support/extension" module Pakyow module Assets module Behavior module Processing extend Support::Extension 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, File.join(config.assets.host, asset.public_path)) end content end end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pakyow-assets-1.0.0.rc5 | lib/pakyow/assets/behavior/processing.rb |
pakyow-assets-1.0.0.rc4 | lib/pakyow/assets/behavior/processing.rb |