Sha256: ff5c7ab0b219809793c5867a04c752df691be220848d4232f06520539a851d1f
Contents?: true
Size: 688 Bytes
Versions: 3
Compression:
Stored size: 688 Bytes
Contents
module Liquid module Rails module AssetUrlFilter delegate \ :asset_path, :asset_url, :audio_path, :audio_url, :font_path, :font_url, :image_path, :image_url, :javascript_path, :javascript_url, :stylesheet_path, :stylesheet_url, :video_path, :video_url, to: :__h__ private def __h__ @context.registers[:view] end end end end Liquid::Template.register_filter(Liquid::Rails::AssetUrlFilter)
Version data entries
3 entries across 3 versions & 1 rubygems