From 54b33b5fc35bbd3d29a5958669b53052a533cca0 Mon Sep 17 00:00:00 2001 From: manson Date: Fri, 13 Feb 2015 15:10:37 +0800 Subject: [PATCH] fix thumb resize_to_limit --- app/uploaders/gallery_uploader.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/uploaders/gallery_uploader.rb b/app/uploaders/gallery_uploader.rb index 7b48541..b7f85bb 100644 --- a/app/uploaders/gallery_uploader.rb +++ b/app/uploaders/gallery_uploader.rb @@ -50,7 +50,7 @@ class GalleryUploader < CarrierWave::Uploader::Base # end version :thumb do - process :resize_to_limit => [200, 0] + process :resize_to_limit => [200, nil] end version :theater do