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

9 lines
166 B
CoffeeScript
Raw Normal View History

2015-05-05 03:10:25 +02:00
'use strict'
Application.Services.factory 'Machine', ["$resource", ($resource)->
$resource "/api/machines/:id",
{id: "@id"},
update:
method: 'PUT'
]