summaryrefslogtreecommitdiff
path: root/app/views/tournaments/index.html.erb
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-04 20:44:43 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-04 20:44:43 -0400
commit38d6960be1efdb6345445ab293a8cd605193785f (patch)
treedf37e79b5744b570aded5aa4d7fe38cd772a49fe /app/views/tournaments/index.html.erb
parentbcfa571b0328a4b3e94479a31c027621ceb86ad5 (diff)
parentd14dcf9af11a0f2eab2609efb7d9e59a9cc18bb0 (diff)
Merge branch 'master' into luke
Conflicts: app/controllers/application_controller.rb app/controllers/tournaments_controller.rb
Diffstat (limited to 'app/views/tournaments/index.html.erb')
-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">