Skip to content
Browse files

Revert "Fix precrop error, which fixes social_stream bug"

This reverts commit e82899f.
  • Loading branch information...
1 parent 688dfbc commit 2b8130bdd7be73187d0090c85e78d78409063389 @rafaelgg rafaelgg committed Feb 21, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 app/models/avatar.rb
View
3 app/models/avatar.rb
@@ -103,9 +103,10 @@ def process_precrop
return if !@name.blank?
if resize_image(logo.queued_for_write[:original].path,500,500)
+ logo.errors['precrop'] = "You have to make precrop"
Avatar.copy_to_temp_file(logo.queued_for_write[:original].path)
else
- logo.errors['precrop'] = "You have to make precrop"
+
end
end

0 comments on commit 2b8130b

Please sign in to comment.
Something went wrong with that request. Please try again.