From d4d0eacf4985ef6d6d0f5f9cb603e29deb5924c4 Mon Sep 17 00:00:00 2001
From: Sebastian <sebastian@yo.lk>
Date: Tue, 31 May 2011 19:06:35 +0200
Subject: [PATCH] fixed #1104 wrong profile picture size

---
 app/views/comments/_new_comment.html.haml | 2 +-
 app/views/conversations/_show.haml        | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/views/comments/_new_comment.html.haml b/app/views/comments/_new_comment.html.haml
index 1dd3aaa288..5e777f4da6 100644
--- a/app/views/comments/_new_comment.html.haml
+++ b/app/views/comments/_new_comment.html.haml
@@ -3,7 +3,7 @@
 -#   the COPYRIGHT file.
 
 = form_tag( comments_path, :id => "new_comment_on_#{post_id}", :class => 'new_comment', :remote => true) do
-  = person_image_tag(current_user, nil)
+  = person_image_tag(current_user)
   %p
     = label_tag "comment_text_on_#{post_id}", t('.comment')
     = text_area_tag :text, nil, :rows => 2, :class => "comment_box",:id => "comment_text_on_#{post_id}"
diff --git a/app/views/conversations/_show.haml b/app/views/conversations/_show.haml
index ff1797a323..5c45327e85 100644
--- a/app/views/conversations/_show.haml
+++ b/app/views/conversations/_show.haml
@@ -27,7 +27,7 @@
     = render :partial => 'messages/message', :collection => conversation.messages
 
     .stream_element.new_message
-      = owner_image_tag
+      = owner_image_tag(:thumb_small)
 
       .content
         = form_for [conversation, Message.new] do |message|
-- 
GitLab