From 8a72dcba6eac1ab043a8030dba3afd454fb124de Mon Sep 17 00:00:00 2001 From: Daniela Soares Feitosa Date: Wed, 27 May 2009 20:17:26 -0300 Subject: [PATCH] ActionItem1057: resizing file only if it is bigger --- app/models/uploaded_file.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/uploaded_file.rb b/app/models/uploaded_file.rb index 4ce2b26..a17ec93 100644 --- a/app/models/uploaded_file.rb +++ b/app/models/uploaded_file.rb @@ -10,7 +10,7 @@ class UploadedFile < Article # :min_size => 2.megabytes # :max_size => 5.megabytes has_attachment :storage => :file_system, - :thumbnails => { :icon => [24,24], :thumb => '130x130>', :display => [640,480] }, + :thumbnails => { :icon => [24,24], :thumb => '130x130>', :display => '640X480>' }, :thumbnail_class => Thumbnail, :max_size => 5.megabytes -- libgit2 0.21.2