1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-12 06:54:19 +01:00

12 lines
234 B
CoffeeScript
Raw Normal View History

2016-08-04 14:26:07 +02:00
'use strict'
Application.Services.factory 'Coupon', ["$resource", ($resource)->
$resource "/api/coupons/:id",
{id: "@id"},
update:
method: 'PUT'
validate:
method: 'POST'
url: '/api/coupons/validate'
2016-08-04 14:26:07 +02:00
]