Skip to content
Create a gist now

Instantly share code, notes, and snippets.

_login_bar.html.erb for Spree
<% if spree_current_user %>
<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>
<% end %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.