diff options
Diffstat (limited to 'app/views/users/show.html.erb')
-rw-r--r-- | app/views/users/show.html.erb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb index 9455a3c..7bda009 100644 --- a/app/views/users/show.html.erb +++ b/app/views/users/show.html.erb @@ -1,4 +1,6 @@ -<p id="notice"><%= notice %></p> +<p> + <%= image_tag 'http://www.gravatar.com/avatar/' + Digest::MD5.hexdigest(@user.email) + '?s=100&d=mm' %> +</p> <p> <strong>Name:</strong> @@ -16,4 +18,4 @@ </p> <%= link_to 'Edit', edit_user_path(@user) %> | -<%= link_to 'Back', users_path %> +<%= link_to 'Users', users_path %> |