app/views/spree/admin/shared/_routes.html.erb in spree_backend-2.2.1 vs app/views/spree/admin/shared/_routes.html.erb in spree_backend-2.2.2
- old
+ new
@@ -10,7 +10,8 @@
Spree.routes.stock_locations_api = "<%= spree.api_stock_locations_url(:format => 'json') %>";
Spree.routes.variants_api = "<%= spree.api_variants_url(:format => 'json') %>";
Spree.routes.classifications_api = "<%= spree.api_classifications_url(:format => 'json') %>";
Spree.routes.taxon_products_api = "<%= spree.api_taxon_products_url(:format => 'json') %>";
Spree.routes.payments_api = "<%= spree.api_order_payments_url(:format => 'json') if params[:order_id] %>";
+ Spree.routes.shipments_api = "<%= spree.api_shipments_url(:format => 'json') %>";
Spree.routes.stock_items_api = "<%= spree.api_stock_location_stock_items_url(:format => 'json') if params[:stock_location_id] %>";
</script>