5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 07:11:43 +00:00

no perder el tamaño de imagen

This commit is contained in:
f 2018-08-22 17:51:34 -03:00
parent 78533e4982
commit 9d882aa8fa
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7

View file

@ -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