Module: ActionView::Helpers::AssetUrlHelper

Defined in:
lib/emcee/helpers/action_view.rb

Instance Method Summary collapse

Instance Method Details

#html_path(source, options = {}) ⇒ Object Also known as: path_to_html

Convenience method for html based on javascript_path.



8
9
10
# File 'lib/emcee/helpers/action_view.rb', line 8

def html_path(source, options = {})
  path_to_asset(source, { type: :html }.merge!(options))
end