commit | 6e5da16a543cd2cc8c7aa24a903c14f50a28a2a0 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <matteo.scandolo@gmail.com> | Fri Dec 23 09:11:04 2016 -0800 |
committer | Matteo Scandolo <matteo.scandolo@gmail.com> | Fri Dec 23 09:11:04 2016 -0800 |
tree | 7ede21c0c75a03a2c9079dd942b1ab92b616b803 | |
parent | f9dd4d03ce34bfd815dc9f9b6603ab5fcb8cb29f [diff] [blame] |
Added delete capabilities to table Change-Id: Ia2654037e954badff4c09fc8ff211ebf56790fb9
diff --git a/src/app/datasources/rest/model.rest.ts b/src/app/datasources/rest/model.rest.ts index eca4221..51e41d3 100644 --- a/src/app/datasources/rest/model.rest.ts +++ b/src/app/datasources/rest/model.rest.ts
@@ -16,6 +16,6 @@ } public getResource(url: string): ng.resource.IResourceClass<ng.resource.IResource<any>> { - return this.resource = this.$resource(`${AppConfig.apiEndpoint}${url}/:id`, {id: '@id'}); + return this.resource = this.$resource(`${AppConfig.apiEndpoint}${url}/:id/`, {id: '@id'}); } }