Created
December 7, 2017 20:52
-
-
Save rquast/96e3e9d2043ddeb1fa34d962755e374d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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