16 lines
271 B
Ruby
16 lines
271 B
Ruby
|
module Locomotive
|
||
|
module Liquid
|
||
|
module Filters
|
||
|
module Resize
|
||
|
|
||
|
def resize(input, resize_string)
|
||
|
Locomotive::Dragonfly.resize_url(input, resize_string)
|
||
|
end
|
||
|
|
||
|
end
|
||
|
|
||
|
::Liquid::Template.register_filter(Resize)
|
||
|
|
||
|
end
|
||
|
end
|
||
|
end
|