summaryrefslogtreecommitdiffstats
path: root/app/views/account/show.rhtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/account/show.rhtml')
-rw-r--r--app/views/account/show.rhtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/account/show.rhtml b/app/views/account/show.rhtml
index 305629a9c..175a11c75 100644
--- a/app/views/account/show.rhtml
+++ b/app/views/account/show.rhtml
@@ -2,7 +2,7 @@
<%= link_to(l(:button_edit), {:controller => 'users', :action => 'edit', :id => @user}, :class => 'icon icon-edit') if User.current.admin? %>
</div>
-<h2><%= gravatar_for_mail @user.mail unless @user.mail.empty? %> <%=h @user.name %></h2>
+<h2><%= avatar @user %> <%=h @user.name %></h2>
<p>
<%= mail_to(h(@user.mail)) unless @user.pref.hide_mail %>