mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-11 22:24:21 +01:00
9 lines
180 B
CoffeeScript
9 lines
180 B
CoffeeScript
|
'use strict'
|
||
|
|
||
|
Application.Services.factory 'PriceCategory', ["$resource", ($resource)->
|
||
|
$resource "/api/price_categories/:id",
|
||
|
{id: "@id"},
|
||
|
update:
|
||
|
method: 'PUT'
|
||
|
]
|