Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

_login_bar.html.erb for Spree

View gist:2898480
1 2 3 4 5 6
<% 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.