Fix gravatar url

This commit is contained in:
Pavel Chipiga 2012-03-06 22:16:31 +02:00
parent 2735b324ac
commit e3f0b2fce2
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
.avatar
%a{:href => "#"}
= link_to user_path_by_user(user) do
%img.mini-gravatar{:src => avatar_url(v.author), :alt => "avatar: #{v.author.name.encode_to_default}"}
%img.mini-gravatar{:src => gravatar_url(v.author.email), :alt => "avatar: #{v.author.name.encode_to_default}"}
%span.username= user.present? ? user.uname : v.author.name.encode_to_default
.name
= link_to user_path_by_user(user) do