1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-14 00:49:54 +00:00

Blocking buttons with Devise Authentication and cleaning up views

This commit is contained in:
Jacob Cody Wimer
2014-01-22 08:38:55 -05:00
parent 382e1a0c05
commit 8797381b6c
9 changed files with 13 additions and 23 deletions

View File

@@ -1,5 +1,7 @@
<h1>Pick A Tournament</h1>
<%= link_to 'New Tournament', new_tournament_path, :class=>"btn" %>
<% if user_signed_in? %>
<%= link_to 'New Tournament', new_tournament_path, :class=>"btn" %>
<% end %>
</br>
</br>
<table class="table table-striped table-bordered">