module ActionView::Helpers::AssetUrlHelper
Public Instance Methods
path_to_html(source, options = {})
click to toggle source
Convenience method for html. Based on ActionView’s standard javascript_path method.
# File lib/emcee/helpers/asset_url_helper.rb, line 10 def path_to_html(source, options = {}) path_to_asset(source, { type: :html }.merge!(options)) end