mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-02 21:57:17 +00:00
StandingOrderResource can handle index action
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
angular.module("admin.standingOrders").factory 'StandingOrderResource', ($resource) ->
|
||||
$resource('/admin/standing_orders/:action.json', {}, {
|
||||
'index':
|
||||
method: 'GET'
|
||||
isArray: true
|
||||
'create':
|
||||
method: 'POST'
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user