route(routeEntry, (...args) => { this.redux.dispatch(newRouteSet( routeEntry, route.query(), args )); this.routes[routeEntry].controller[this.routes[routeEntry].callbackFunction](args, route.query()); });
route('settings/*?..', projectName => { const activeTab = route.query().activeTab riot.mount('content', 'settings', { projectName, activeTab }) riot.mount('side-menu', 'common-menu') })