summaryrefslogtreecommitdiff
path: root/app/views/users
diff options
context:
space:
mode:
authorAndrewMurrell <amurrel@purdue.edu>2014-04-27 20:53:05 -0400
committerAndrewMurrell <amurrel@purdue.edu>2014-04-27 20:53:05 -0400
commitdc9c2855c044f18b82a073a6067c81130a99f76a (patch)
treec7b29dc2c7b5236f5a739dafe13f36be4c8e339b /app/views/users
parentfbdb313c53b836deb1b4151169b32656fd1f70da (diff)
parente526f5b62b3dc91ca30eb0382c071227b74baddf (diff)
Merge branch 'master' of http://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/users')
-rw-r--r--app/views/users/index.html.erb2
-rw-r--r--app/views/users/show.html.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb
index 89e369a..e4251cd 100644
--- a/app/views/users/index.html.erb
+++ b/app/views/users/index.html.erb
@@ -16,7 +16,7 @@
<tbody>
<% @users.each do |user| %>
<tr>
- <td><%= link_to("#{user.user_name}", user, nil) %></td>
+ <td><%= image_tag('http://www.gravatar.com/avatar/' + Digest::MD5.hexdigest(user.email) + '?s=30&d=identicon') %> <%= link_to("#{user.user_name}", user, nil) %></td>
<td><%= user.name %></td>
<td> ******* </td>
<td><%= user.user_name %></td>
diff --git a/app/views/users/show.html.erb b/app/views/users/show.html.erb
index b408589..b247b7d 100644
--- a/app/views/users/show.html.erb
+++ b/app/views/users/show.html.erb
@@ -54,4 +54,4 @@
</div>
<%= link_to 'Edit', edit_user_path(@user) %> |
-<%= link_to 'Users', users_path %>
+<%= link_to 'All Users', users_path %>