Sha256: 21899e3aeb4562e30487b5a1eb81ef69641f8096b513450e9809899523c49568

Contents?: true

Size: 332 Bytes

Versions: 8

Compression:

Stored size: 332 Bytes

Contents

module Locomotive
  module Builder
    module Liquid
      module Filters
        module Resize

          def resize(input, resize_string)
            Locomotive::Builder::Dragonfly.instance.resize_url(input, resize_string)
          end

        end

        ::Liquid::Template.register_filter(Resize)

      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
locomotivecms_builder-1.0.0.alpha8 lib/locomotive/builder/liquid/filters/resize.rb
locomotivecms_builder-1.0.0.alpha7 lib/locomotive/builder/liquid/filters/resize.rb
locomotivecms_builder-1.0.0.alpha6 lib/locomotive/builder/liquid/filters/resize.rb
locomotivecms_builder-1.0.0.alpha5 lib/locomotive/builder/liquid/filters/resize.rb
locomotivecms_builder-1.0.0.alpha4 lib/locomotive/builder/liquid/filters/resize.rb
locomotivecms_builder-1.0.0.alpha3 lib/locomotive/builder/liquid/filters/resize.rb
locomotivecms_builder-1.0.0.alpha2 lib/locomotive/builder/liquid/filters/resize.rb
locomotivecms_builder-1.0.0.alpha1 lib/locomotive/builder/liquid/filters/resize.rb