From 63af7d00f5b98b088be116e7062bcace5c269abe Mon Sep 17 00:00:00 2001 From: Jacob Cody Wimer Date: Sat, 25 Apr 2015 23:20:48 -0400 Subject: [PATCH] Re-Added new school link --- app/views/tournaments/show.html.erb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/views/tournaments/show.html.erb b/app/views/tournaments/show.html.erb index bdca5a5..e35c544 100644 --- a/app/views/tournaments/show.html.erb +++ b/app/views/tournaments/show.html.erb @@ -33,7 +33,11 @@ - +
+ <% if user_signed_in? %> + <%= link_to "New #{@tournament.name} School" , "/schools/new?tournament=#{@tournament.id}" %> + <% end %> +
<% @schools.each do |school| %>