commit | d58d504e9f8733d26aca59d77787247b9d1578fc | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <matteo.scandolo@gmail.com> | Fri Dec 16 16:59:21 2016 -0800 |
committer | Matteo Scandolo <matteo.scandolo@gmail.com> | Fri Dec 16 17:18:46 2016 -0800 |
tree | 0b09ac17b2fcd6feb6a03e2a01f315cd8eec154f | |
parent | a4a47112ac827905fff860b4d68afa1baea3c83a [diff] [blame] |
Formatting labels Change-Id: I131f27f2f6fcd5cd76f4fbc13c632f7cd1aa17d0
diff --git a/src/app/datasources/stores/model.store.ts b/src/app/datasources/stores/model.store.ts index d306f9d..e33d7cd 100644 --- a/src/app/datasources/stores/model.store.ts +++ b/src/app/datasources/stores/model.store.ts
@@ -33,7 +33,7 @@ } private loadInitialData(model: string) { - const endpoint = `/core/${model.toLowerCase()}s/`; + const endpoint = `/core/${model.toLowerCase()}s`; // NOTE check is pluralize is better this.ModelRest.getResource(endpoint).query().$promise .then( res => {