summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authortkimia <tkimia@purdue.edu>2014-04-03 17:17:18 -0400
committertkimia <tkimia@purdue.edu>2014-04-03 17:17:18 -0400
commit0c1583c0b31504dfdbbbec3e6dcc240acb059891 (patch)
tree3765e8cc91ae7bce6c73237aa91c279c8701598c /app
parent051e61877b4c77a17fd4fa68dfca4d5e74a687df (diff)
parente7b805cd2c7f934f47663c04cf0a98be58e26130 (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app')
-rw-r--r--app/views/tournaments/index.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/tournaments/index.html.erb b/app/views/tournaments/index.html.erb
index 6a86955..e174de7 100644
--- a/app/views/tournaments/index.html.erb
+++ b/app/views/tournaments/index.html.erb
@@ -6,7 +6,7 @@
<%# Each tournament has a div for its listing %>
<% @tournaments.each do |t| %>
<div class="row tournament-listing">
- <div class="col-md-2 ">Gravatar of Host Goes Here</div>
+ <div class="col-md-2 "><%= image_tag 'http://www.gravatar.com/avatar/' + Digest::MD5.hexdigest(t.hosts.first.email) + '?s=100&d=mm' %></div>
<div class="col-md-8">