WrestlingDev
  • <%= link_to "About", "/static_pages/about" %>
  • <% if user_signed_in? %>
  • <%=link_to "Log out", destroy_user_session_url ,:method => 'delete' %>
  • <%=link_to "Edit user", edit_user_registration_path %>
  • <%=link_to "My tournaments","/static_pages/my_tournaments" %>
  • <% else %>
  • <%= link_to "Log In" , new_user_session_path %>
  • <% end %>