summaryrefslogtreecommitdiff
path: root/app/views/matches
diff options
context:
space:
mode:
authortkimia <tkimia@purdue.edu>2014-04-07 11:25:35 -0400
committertkimia <tkimia@purdue.edu>2014-04-07 11:25:35 -0400
commitfe5496d65c2eb39d8e529e68bedacef1b3ecef5f (patch)
treea745da121d19d925a2d55313fa17a03bc23163b4 /app/views/matches
parent0ea678daa091529750cbc9786734db8e1d165bd2 (diff)
parent45df045451bdafb630a5bbdb812510e35f2d2a2d (diff)
Merge branch 'master' of https://github.com/LukeShu/leaguer
Diffstat (limited to 'app/views/matches')
-rw-r--r--app/views/matches/show.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/matches/show.html.erb b/app/views/matches/show.html.erb
index 6be3481..16345ab 100644
--- a/app/views/matches/show.html.erb
+++ b/app/views/matches/show.html.erb
@@ -87,7 +87,7 @@
<% @match.teams.each do |team| %>
<% if team.users.include?(current_user) %>
<ol id="boxes" class="sortable">
- <% team.users.collect{|u| u.user_name}.each do |k| %>
+ <% team.users.reject { |u| (u.user_name == @current_user.user_name) }.collect {|u| u.user_name }.each do |k| %>
<li><%= k%>
<br>
<% if (@tournament.game_id == 1) %>