Skip to content

Instantly share code, notes, and snippets.

@wshaddix
Created November 25, 2015 17:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wshaddix/10dcf07dc912a8b3a494 to your computer and use it in GitHub Desktop.
Save wshaddix/10dcf07dc912a8b3a494 to your computer and use it in GitHub Desktop.
export class App {
configureRouter(config, router) {
config.title = 'My Application';
config.map([
{ route: ['', 'dashboard'], name: 'dashboard', moduleId: 'dashboard', nav: true, title: 'Dashboard', settings:{icon: 'fa-tachometer'} },
{ route: 'payments', name: 'payments', moduleId: 'payments', nav: true, title: 'Payments', settings:{icon: 'fa-credit-card'} }
]);
this.router = router;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment