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