mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-05 16: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'
|
||
|
]
|