Commit c6d22d1a3cf29ec04d3bf93739551025d4e3c6b5
1 parent
5597a242
Exists in
master
and in
1 other branch
Small refactor in article service
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/lib/ng-noosfero-api/http/article.service.ts
... | ... | @@ -9,7 +9,7 @@ export class ArticleService { |
9 | 9 | } |
10 | 10 | |
11 | 11 | getByProfile(profileId: number, filters: any) { |
12 | - return this.Restangular.service('profiles').one(profileId).one('articles').get(filters); | |
12 | + return this.Restangular.one('profiles', profileId).customGET('articles', filters); | |
13 | 13 | } |
14 | 14 | |
15 | 15 | } | ... | ... |