mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-12 03:50:22 +00:00
Move exchange products endpoint to api namespace and make it work for outgoing exchanges
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
angular.module('admin.orderCycles').factory('Product', ($resource) ->
|
||||
Product = $resource('/admin/exchanges/:exchange_id/products.json', {}, {
|
||||
Product = $resource('/api/exchanges/:exchange_id/products.json', {}, {
|
||||
'index':
|
||||
method: 'GET'
|
||||
isArray: true
|
||||
|
||||
Reference in New Issue
Block a user