Module: Phlex::Rails::Helpers::AssetPath

Extended by:
Phlex::Rails::HelperMacros
Defined in:
lib/phlex/rails/helpers/asset_path.rb

Instance Method Summary collapse

Methods included from Phlex::Rails::HelperMacros

register_output_helper, register_value_helper

Instance Method Details

#asset_path(source, host: nil, protocol: nil, type: nil, skip_pipeline: nil, extname: nil) ⇒ Object

Parameters:

  • source (String)
  • host (String) (defaults to: nil)
  • protocol (String) (defaults to: nil)

    e.g. "https"

  • type (Symbol) (defaults to: nil)

    e.g. :javascript

  • skip_pipeline (bool) (defaults to: nil)
  • extname (String) (defaults to: nil)

    e.g. ".js"

See Also:



14
# File 'lib/phlex/rails/helpers/asset_path.rb', line 14

register_value_helper :asset_path