Commit db9cbbc5 by Steve

Changed Geometry#to_s to include the modifier string for width-based resize geometries.

parent f756dd1d
...@@ -65,7 +65,8 @@ module Paperclip ...@@ -65,7 +65,8 @@ module Paperclip
def to_s def to_s
s = "" s = ""
s << width.to_i.to_s if width > 0 s << width.to_i.to_s if width > 0
s << "x#{height.to_i}#{modifier}" if height > 0 s << "x#{height.to_i}" if height > 0
s << modifier.to_s
s s
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment