Fix gravatar url
This commit is contained in:
parent
2735b324ac
commit
e3f0b2fce2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue