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

View File

@@ -1,6 +1,6 @@
<div class="item-group thread-reply with-avatar" id="reply-<%= reply.id %>">
<div class="header">
<%= link_to(image_tag(reply.author.avatar_url(64), class: "avatar"), reply.author, title: reply.author.ign) %>
<%= link_to(reply.author.avatar(64), reply.author, title: reply.author.ign) %>
<%= render partial: "users/username", locals: { user: reply.author } %>
<time><%= link_to reply.created_at.strftime("%e. %b %Y, %H:%M"), "#reply-#{reply.id}" %></time>