Sha256: 0d0aab6d2f634853d429ee5deb9b4e7935d12416c77bb42bb2aa09ea5c02c73f

Contents?: true

Size: 417 Bytes

Versions: 1

Compression:

Stored size: 417 Bytes

Contents

module ActionView::Helpers::AssetTagHelper
  def expand_javascript_sources_with_engine_assets(sources, recursive = false)
    if sources.include?(:all)
      return (determine_source(:defaults, @@javascript_expansions).dup | expand_javascript_sources_without_engine_assets(sources, recursive))
    else
      raise NotImplementedError
    end
  end
  alias_method_chain :expand_javascript_sources, :engine_assets
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
engine-assets-0.3.1 lib/engine_assets/extensions/rails/assets.rb