summaryrefslogtreecommitdiff
path: root/app/views/users/show.html.erb
blob: 7bda0096a68121d661c0058084b367479eb4fcf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<p>
  <%= image_tag 'http://www.gravatar.com/avatar/' + Digest::MD5.hexdigest(@user.email) + '?s=100&d=mm' %>
</p>

<p>
  <strong>Name:</strong>
  <%= @user.name %>
</p>

<p>
  <strong>Email:</strong>
  <%= @user.email %>
</p>

<p>
  <strong>User name:</strong>
  <%= @user.user_name %>
</p>

<%= link_to 'Edit', edit_user_path(@user) %> |
<%= link_to 'Users', users_path %>