Navigation Menu

Skip to content

Commit

Permalink
Revert "Fix precrop error, which fixes social_stream bug"
Browse files Browse the repository at this point in the history
This reverts commit e82899f.
  • Loading branch information
rafaelgg committed Feb 21, 2012
1 parent 688dfbc commit 2b8130b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/models/avatar.rb
Expand Up @@ -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

Expand Down

0 comments on commit 2b8130b

Please sign in to comment.