Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[auth] Make logout link now use a DELETE request

  • Loading branch information...
commit c402d26e0bf56b266b28ef4c5af8befddb5cac19 1 parent 8cf31c5
@radar radar authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  auth/app/views/spree/shared/_login_bar.html.erb
View
2  auth/app/views/spree/shared/_login_bar.html.erb
@@ -1,6 +1,6 @@
<% if current_user %>
<li><%= link_to t(:my_account), spree.account_path %></li>
- <li><%= link_to t(:logout), spree.destroy_user_session_path %></li>
+ <li><%= link_to t(:logout), spree.destroy_user_session_path, :method => :delete %></li>
<% else %>
<li id="link-to-login"><%= link_to t(:login), spree.login_path %></li>
<% end %>
Please sign in to comment.
Something went wrong with that request. Please try again.