Fix route in order view

This commit is contained in:
Luis Ramos
2021-05-13 23:08:40 +01:00
parent e60a513c88
commit 0243e5cbb8

View File

@@ -41,7 +41,7 @@
= t(:orders_changeable_orders_alert_html, oc_close: l(order.order_cycle.orders_close_at, format: "%b %d, %Y %H:%M"))
%a.close{ "ng-click" => "close()" } ×
= form_for order, url: order_path(order), html: {id: 'update-order', name: 'update_order_form' } do |order_form|
= form_for order, url: main_app.order_path(order), html: {id: 'update-order', name: 'update_order_form' } do |order_form|
- if order.changes_allowed?
= render 'spree/orders/form', order_form: order_form
-else