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