1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Changed links on tournaments#show

This commit is contained in:
Jacob Cody Wimer
2014-01-22 10:10:36 -05:00
parent 8e5e1d60a3
commit 4a463132da

View File

@@ -1,7 +1,8 @@
<p id="notice"><%= notice %></p>
<%= link_to 'Edit', edit_tournament_path(@tournament) %> |
<%= link_to 'Back', tournaments_path %>
<% if user_signed_in? %>
<%= link_to "Edit #{@tournament.name}", edit_tournament_path(@tournament) %> |
<% end %>
<%= link_to 'Back', root_path %>
<h1>
<%= @tournament.name %>