Module: ActionView::Helpers::AssetUrlHelper
- Defined in:
- lib/emcee/helpers/action_view.rb
Instance Method Summary collapse
-
#html_path(source, options = {}) ⇒ Object
(also: #path_to_html)
Convenience method for html based on javascript_path.
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, = {}) path_to_asset(source, { type: :html }.merge!()) end |