Sha256: b3cc65ede449b16874cc66d228ba74924f78763be5e1cc83444d04b82e1b7ac5

Contents?: true

Size: 260 Bytes

Versions: 10

Compression:

Stored size: 260 Bytes

Contents

module Smithy
  module Liquid
    module Filters
      module Resize
        def resize(input, resize_string)
          Smithy::Dragonfly.resize_url(input, resize_string)
        end
      end
      ::Liquid::Template.register_filter(Resize)
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
smithycms-0.5.99.3 lib/smithy/liquid/filters/resize.rb
smithycms-0.5.99.2 lib/smithy/liquid/filters/resize.rb
smithycms-0.5.99.1 lib/smithy/liquid/filters/resize.rb
smithycms-0.5.99 lib/smithy/liquid/filters/resize.rb
smithycms-0.5.2 lib/smithy/liquid/filters/resize.rb
smithycms-0.5.1 lib/smithy/liquid/filters/resize.rb
smithycms-0.5.0 lib/smithy/liquid/filters/resize.rb
smithycms-0.4.5 lib/smithy/liquid/filters/resize.rb
smithycms-0.4.4 lib/smithy/liquid/filters/resize.rb
smithycms-0.4.3 lib/smithy/liquid/filters/resize.rb