app/views/piggybak/orders/_user_details.html.erb in piggybak-0.6.34 vs app/views/piggybak/orders/_user_details.html.erb in piggybak-0.7.0
- old
+ new
@@ -2,14 +2,14 @@
<h3>User Details</h3>
<div class="item">
<% if current_user -%>
<%= f.label :email %>
<%= f.text_field :email, { :readonly => true, :class => "readonly required" } %>
- <span>or <%= link_to 'LOGOUT', destroy_user_session_path, :method => :delete, :class => "last" %></span>
+ <span>or <%= link_to 'LOGOUT', main_app.destroy_user_session_path, :method => :delete, :class => "last" %></span>
<% else -%>
<%= f.label :email %>
<%= f.text_field :email, :class => "required" %><br />
- <span>or <%= link_to 'LOG IN', new_user_session_path %></span>
+ <span>or <%= link_to 'LOG IN', main_app.new_user_session_path %></span>
<% end -%>
</div>
<div class="item">
<%= f.label :phone %>
<%= f.text_field :phone, :class => "required" %>