Skip to content

Instantly share code, notes, and snippets.

@rquast
Created December 7, 2017 20:52
Show Gist options
  • Save rquast/96e3e9d2043ddeb1fa34d962755e374d to your computer and use it in GitHub Desktop.
Save rquast/96e3e9d2043ddeb1fa34d962755e374d to your computer and use it in GitHub Desktop.
configureRouter(config, router) {
config.title = 'Cavy';
let routes = BaseRoutes.concat(SettingsRoutes);
/*
for (let route of routes) {
if (route.moduleId) {
route.moduleId = PLATFORM.moduleName(route.moduleId);
}
}
*/
config.map(routes);
config.addPipelineStep('modelbind', TopicRoutingStep);
config.addPreActivateStep(PreActivateStep);
config.addPostRenderStep(PostRenderStep);
this.router = router;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment