1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-11 22:24:21 +01:00
fab-manager/app/assets/javascripts/services/price_category.coffee

9 lines
180 B
CoffeeScript
Raw Normal View History

2016-08-24 12:30:48 +02:00
'use strict'
Application.Services.factory 'PriceCategory', ["$resource", ($resource)->
$resource "/api/price_categories/:id",
{id: "@id"},
update:
method: 'PUT'
]