From 93e291c8e5002fdea906bb8c96cd528fa8b75935 Mon Sep 17 00:00:00 2001 From: tkimia Date: Sat, 26 Apr 2014 19:39:57 -0400 Subject: brackets just get created --- app/views/brackets/index.html.erb | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'app/views/brackets/index.html.erb') diff --git a/app/views/brackets/index.html.erb b/app/views/brackets/index.html.erb index 2195d69..9effe37 100644 --- a/app/views/brackets/index.html.erb +++ b/app/views/brackets/index.html.erb @@ -8,7 +8,6 @@ Name - @@ -18,9 +17,8 @@ <%= bracket.user %> <%= bracket.tournament %> <%= bracket.name %> - <%= link_to 'Show', bracket %> - <%= link_to 'Edit', edit_bracket_path(bracket) %> - <%= link_to 'Destroy', bracket, method: :delete, data: { confirm: 'Are you sure?' } %> + <%= link_to 'Show', tournament_bracket_path(@tournament, bracket) %> + <%= link_to 'Edit', edit_tournament_bracket_path(@tournament, bracket) %> <% end %> @@ -28,4 +26,3 @@
-<%= link_to 'New Bracket', new_bracket_path %> -- cgit v1.2.3-54-g00ecf