Module: ActionView::Helpers::AssetUrlHelper
- Defined in:
- lib/emcee/helpers/asset_url_helper.rb
Instance Method Summary collapse
-
#path_to_html(source, options = {}) ⇒ Object
Convenience method for html.
Instance Method Details
#path_to_html(source, options = {}) ⇒ Object
Convenience method for html. Based on ActionView’s standard javascript_path method.
10 11 12 |
# File 'lib/emcee/helpers/asset_url_helper.rb', line 10 def path_to_html(source, = {}) path_to_asset(source, { type: :html }.merge!()) end |