1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-18 21:42:16 +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

@@ -6,11 +6,10 @@
<ul class="nav pull-right">
<li><%= link_to "Home", root_path %></li>
<% if @tournament %>
<li><%= link_to "Brackets" , '#' %></li>
<li><%= link_to "Bout Board" , '#' %></li>
<li><%= link_to "Brackets" , '#' %></li>
<li><%= link_to "Bout Board" , '#' %></li>
<% end %>
<% if user_signed_in? %>
<li><%= link_to "Admin" , '/admin/index' %></li>
<li><%= link_to "Log Out", destroy_user_session_path, method: :delete %></li>
<% else %>
<li><%= link_to "Log In" , new_user_session_path %></li>