mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-04 15:24:23 +01:00
15 lines
273 B
CoffeeScript
15 lines
273 B
CoffeeScript
|
'use strict'
|
||
|
|
||
|
Application.Services.factory 'Price', ["$resource", ($resource)->
|
||
|
$resource "/api/prices/:id",
|
||
|
{},
|
||
|
query:
|
||
|
isArray: false
|
||
|
update:
|
||
|
method: 'PUT'
|
||
|
compute:
|
||
|
method: 'POST'
|
||
|
url: '/api/prices/compute'
|
||
|
isArray: false
|
||
|
]
|