Sha256: 0beaacee10e78e5266dd03a9664d854e8a11da168c6d5ba676f87f1509b39367

Contents?: true

Size: 284 Bytes

Versions: 2

Compression:

Stored size: 284 Bytes

Contents

module Jekyll
  module AssetsPlugin
    class Environment
      module IndexPatch

        def find_asset path, options = {}
          asset = super
          @environment.site.bundle_asset! asset if asset and options[:bundle]
          asset
        end

      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jekyll-assets-0.3.5 lib/jekyll/assets_plugin/environment/index_patch.rb
jekyll-assets-0.3.4 lib/jekyll/assets_plugin/environment/index_patch.rb