Match History

<% @user.match_teams.each do |team| %>

<%= namelink team %>

<%= render partial: "matches/list", locals: { matches: Match.finished.ordered.of_userteam(@user, team), friendly: team, contest: true, exclude_maps: true } %> <% end %>