Skip to content

Commit

Permalink
docs(data): fix compilation errors in example (#2490)
Browse files Browse the repository at this point in the history
  • Loading branch information
LMFinney authored Apr 14, 2020
1 parent 79ec1b4 commit 1925308
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions projects/ngrx.io/content/guide/data/extension-points.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ import {

@Injectable()
export class PluralHttpUrlGenerator extends DefaultHttpUrlGenerator {
constructor(private pluralizer: Pluralizer) {
super(pluralizer);
constructor(private myPluralizer: Pluralizer) {
super(myPluralizer);
}

protected getResourceUrls(
Expand All @@ -193,7 +193,7 @@ export class PluralHttpUrlGenerator extends DefaultHttpUrlGenerator {
let resourceUrls = this.knownHttpResourceUrls[entityName];
if (!resourceUrls) {
const nRoot = normalizeRoot(root);
const url = `${nRoot}/${this.pluralizzer.pluralize(
const url = `${nRoot}/${this.myPluralizer.pluralize(
entityName
)}/`.toLowerCase();
resourceUrls = {
Expand Down

0 comments on commit 1925308

Please sign in to comment.