Skip to content
This repository has been archived by the owner on Sep 4, 2018. It is now read-only.

Commit

Permalink
logout link in auth guide should use DELETE HTTP method
Browse files Browse the repository at this point in the history
  • Loading branch information
radar committed Jun 11, 2012
1 parent 4c135fa commit ceda0fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/authentication.textile
Expand Up @@ -153,7 +153,7 @@ This override references a partial called "spree/shared/login_bar". This will li

<erb>
<% if spree_current_user %>
<li><%= link_to t(:logout), spree_logout_path %></li>
<li><%= link_to t(:logout), spree_logout_path, :method => :delete %></li>
<% else %>
<li><%= link_to t(:login), spree_login_path %></li>
<li><%= link_to t(:signup), spree_signup_path %></li>
Expand Down

0 comments on commit ceda0fa

Please sign in to comment.