app/views/refinery/blog/posts/_comment.html.erb in refinerycms-blog-2.0.5 vs app/views/refinery/blog/posts/_comment.html.erb in refinerycms-blog-2.1.0
- old
+ new
@@ -1,6 +1,6 @@
<article class='blog_comment_message' id='<%= "comment-#{comment.to_param}" %>'>
- <%= image_tag comment.avatar_url, :alt => comment.name, :class => 'avatar' %>
+ <%= image_tag avatar_url(comment.email), :alt => comment.name, :class => 'avatar' %>
<%= simple_format auto_link(comment.message.to_s) %>
<footer class='blog_comment_author'>
<p>
<%= t('by', :scope => 'refinery.blog.posts.comments', :who => comment.name) %>,
<%= t('time_ago', :scope => 'refinery.blog.posts.comments', :time => time_ago_in_words(comment.created_at)) %>