add user.avatar with correct size

This commit is contained in:
jomo
2014-05-02 01:16:49 +02:00
parent 000a5e0f82
commit 8c73fcd479
11 changed files with 18 additions and 12 deletions
+1 -1
View File
@@ -32,7 +32,7 @@
<% end %>
<%= image_tag @user.avatar_url(128), :class => "user-avatar avatar", :alt => "avatar" %>
<%= @user.avatar(128, class: "user-avatar avatar") %>
<%= render partial: "users/username", locals: {user: @user} %>
<table>
<tbody>