module Skyfire::AssetsHelper

Public Instance Methods

crossorigin_javascript_include_tag(url, options={}) click to toggle source
Calls superclass method
# File lib/skyfire/assets_helper.rb, line 13
def crossorigin_javascript_include_tag(url, options={})
  url = Npm::Assets::AssetManifest.javascript_path(url)

  super(url, options)
end
image_path(url, options={}) click to toggle source
Calls superclass method
# File lib/skyfire/assets_helper.rb, line 25
def image_path(url, options={})
  url = Npm::Assets::AssetManifest.asset_path(url)

  super(url, options)
end
image_tag(url, options={}) click to toggle source
Calls superclass method
# File lib/skyfire/assets_helper.rb, line 19
def image_tag(url, options={})
  url = AssetManifest.asset_path(url)

  super(url, options)
end
image_url(url, options={}) click to toggle source
Calls superclass method
# File lib/skyfire/assets_helper.rb, line 31
def image_url(url, options={})
  url = Npm::Assets::AssetManifest.asset_path(url)

  super((ActionController::Base.asset_host || "") + url, options)
end