1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-02 13:24:20 +01:00
fab-manager/app/assets/javascripts/services/reservation.js

9 lines
174 B
JavaScript

'use strict'
Application.Services.factory 'Reservation', ["$resource", ($resource)->
$resource "/api/reservations/:id",
{id: "@id"},
update:
method: 'PUT'
]