Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaxwell <maxwell@joindiaspora.com>2011-03-16 05:08:55 +0300
committermaxwell <maxwell@joindiaspora.com>2011-03-17 23:59:53 +0300
commit7ba90a5a98ffe07edc6cccfac72d67b9cfe9f5c4 (patch)
treedfcf86b6641d25a2d0494f1ee45f985dbd3b3425 /app/uploaders
parentbca184eaf3c4e028e43fcbb21b38d330e43e5f63 (diff)
stuff works
Diffstat (limited to 'app/uploaders')
-rw-r--r--app/uploaders/image_uploader.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/uploaders/image_uploader.rb b/app/uploaders/image_uploader.rb
index d3783a9d5..293fef5cf 100644
--- a/app/uploaders/image_uploader.rb
+++ b/app/uploaders/image_uploader.rb
@@ -49,5 +49,7 @@ class ImageUploader < CarrierWave::Uploader::Base
version :scaled_full
version :thumb_large
version :thumb_medium
- version :thumb_small
+ version :thumb_small do
+ process :resize_to_fill => [50,50]
+ end
end