From 9d882aa8fa240cd1f0884e523b0d99a024034dc3 Mon Sep 17 00:00:00 2001 From: f Date: Wed, 22 Aug 2018 17:51:34 -0300 Subject: [PATCH] =?UTF-8?q?no=20perder=20el=20tama=C3=B1o=20de=20imagen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/post/image_uploader.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/post/image_uploader.rb b/app/models/post/image_uploader.rb index 368c41c6..74dc9683 100644 --- a/app/models/post/image_uploader.rb +++ b/app/models/post/image_uploader.rb @@ -7,7 +7,7 @@ class Post::ImageUploader < CarrierWave::Uploader::Base version :thumb do process :strip - process resize_to_fill: [200,200] + process resize_to_fit: [200,200] end def strip