From 8fc6b48caccdb8fbfe04e41282444e0b916883b3 Mon Sep 17 00:00:00 2001
From: DavisLWebb
Date: Fri, 7 Mar 2014 00:38:47 -0500
Subject: luke
---
app/views/matches/show.html.erb | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/views/matches/show.html.erb b/app/views/matches/show.html.erb
index d8112b7..f5a3686 100644
--- a/app/views/matches/show.html.erb
+++ b/app/views/matches/show.html.erb
@@ -9,14 +9,14 @@
<% if @tournament.hosts.include?(current_user) %>
- <%= form_tag(tournament_match_path(@tournament, @match), method: "put") do %>
+ <%= form_for(@match, method: "put") do |f| %>
- <%= submit_tag("Select winner") %>
+ <%= f.submit("Select winner") %>
<% end %>
<% end %>
--
cgit v1.2.3-54-g00ecf