Northwhale 2
  • <% if user_signed_in? %>
  • Menu
    • Bnet: <%= current_user.battletag %>

    • <%= link_to ''.html_safe, destroy_user_session_path, method: :delete %>
  • <% else %> <%= link_to 'Sign in with '.html_safe, user_bnet_omniauth_authorize_path, method: :post, class: "btn btn-primary" %> <% end %>