Skip to content

Commit

Permalink
Merge pull request #78 from plone/richtext
Browse files Browse the repository at this point in the history
support Guillotina container
  • Loading branch information
ebrehault committed Oct 6, 2018
2 parents 5af7992 + db39d38 commit 375efc8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/resource.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ export class ResourceService {
});
}

type(typeId: string): Observable<any> {
return this.cache.get('/@types/' + typeId);
type(typeId: string, containerPath = ''): Observable<any> {
return this.cache.get(`${containerPath}/@types/${typeId}`);
}

vocabulary(vocabularyId: string): Observable<Vocabulary<string | number>> {
Expand Down

0 comments on commit 375efc8

Please sign in to comment.