1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-13 23:48:55 +01:00
fab-manager/app/assets/javascripts/services/age_range.coffee
2016-06-29 11:21:21 +02:00

9 lines
169 B
CoffeeScript

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