Skip to content

Commit

Permalink
Step 9.11: Add ROUTES_PROVIDERS
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkisiela authored and DAB0mB committed Dec 14, 2016
1 parent 3994e1a commit 44c8d40
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion client/imports/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { RouterModule } from '@angular/router';
import { AccountsModule } from 'angular2-meteor-accounts-ui';

import { AppComponent } from './app.component';
import { routes } from './app.routes';
import { routes, ROUTES_PROVIDERS } from './app.routes';
import { PARTIES_DECLARATIONS } from './parties';

@NgModule({
Expand All @@ -20,6 +20,9 @@ import { PARTIES_DECLARATIONS } from './parties';
AppComponent,
...PARTIES_DECLARATIONS
],
providers: [
...ROUTES_PROVIDERS
],
bootstrap: [
AppComponent
]
Expand Down

0 comments on commit 44c8d40

Please sign in to comment.