Sha256: 37728569adcc04ad2b2c213c93cab3cab946714e4efc6a83e2cc105cfcb1503a

Contents?: true

Size: 598 Bytes

Versions: 5

Compression:

Stored size: 598 Bytes

Contents

# frozen_string_literal: true

module Phlex::Rails::Helpers::AssetPath
	extend Phlex::Rails::HelperMacros

	# @!method asset_path(source, host: nil, protocol: nil, type: nil, skip_pipeline: nil, extname: nil)
	# 	@param source [String]
	# 	@param host [String]
	# 	@param protocol [String] e.g. <code>"https"</code>
	# 	@param type [Symbol] e.g. <code>:javascript</code>
	# 	@param skip_pipeline [bool]
	# 	@param extname [String] e.g. <code>".js"</code>
	# 	@see https://api.rubyonrails.org/classes/ActionView/Helpers/AssetUrlHelper.html#method-i-asset_path
	register_value_helper :asset_path
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
phlex-rails-1.2.2 lib/phlex/rails/helpers/asset_path.rb
phlex-rails-2.0.0.beta2 lib/phlex/rails/helpers/asset_path.rb
phlex-rails-2.0.0.beta1 lib/phlex/rails/helpers/asset_path.rb
phlex-rails-1.2.1 lib/phlex/rails/helpers/asset_path.rb
phlex-rails-1.2.0 lib/phlex/rails/helpers/asset_path.rb