public
Last active

_login_bar.html.erb for Spree

  • Download Gist
gistfile1.erb
HTML+ERB
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 %>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.