I am adding my 'Before' route configuration in initConfig as a workaroud.
routes: {
'route-one': 'onRouteOne',
'route-two/:id': {
action: 'onRouteTwo',
...