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

Moved jquery and datatables back to asset pipline. Log out now works

This commit is contained in:
2015-05-05 12:39:15 +00:00
parent cf7b19838c
commit 89e6a81bd1
12 changed files with 35 additions and 23 deletions

View File

@@ -11,7 +11,7 @@
<li><%= link_to "Team Scores" , "/static_pages/team_scores?tournament=#{@tournament.id}" %></li>
<% end %>
<% if user_signed_in? %>
<li><%= link_to "Log Out", destroy_user_session_path, method: :delete %></li>
<li><%=link_to "Log out", destroy_user_session_url ,:method => 'delete' %></li>
<% else %>
<li><%= link_to "Log In" , new_user_session_path %></li>
<% end %>