1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/app/assets/javascripts/services/project.coffee
2015-05-05 03:10:25 +02:00

11 lines
235 B
CoffeeScript

'use strict'
Application.Services.factory 'Project', ["$resource", ($resource)->
$resource "/api/projects/:id",
{id: "@id"},
lastPublished:
method: 'GET'
url: '/api/projects/last_published'
isArray: true
]