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:
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user