Sha256: 67546065ebb9fe4d02de82526884004ba8c01c8ab9203036952c4e5e2e8fdf64
Contents?: true
Size: 340 Bytes
Versions: 24
Compression:
Stored size: 340 Bytes
Contents
module Locomotive module Steam module Liquid module Filters module Resize def resize(input, resize_string) @context.registers[:services].image_resizer.resize(input, resize_string) || input end end ::Liquid::Template.register_filter(Resize) end end end end
Version data entries
24 entries across 24 versions & 1 rubygems