lib/router.js
function registerHandler(routeItem, headler) {
    let method = routeItem.method.toLowerCase();
    debug(
        'Binding "%s" to path "%s" with method "%s"',
        routeItem.handler, routeItem.path, method.toUpperCase()
    );
    headler.actionHandler = true;
    components.app[method](routeItem.path, headler);
}
function registerHandler(routeItem, headler) {
    let method = routeItem.method.toLowerCase();
    debug(
        'Binding "%s" to path "%s" with method "%s"',
        routeItem.handler, routeItem.path, method.toUpperCase()
    );
    headler.actionHandler = true;
    components.app[method](routeItem.path, headler);
}
function registerHandler ( routeItem , headler ) { let method = routeItem . method . toLowerCase ( ) ; debug ( 'Binding "%s" to path "%s" with method "%s"' , routeItem . handler , routeItem . path , method . toUpperCase ( ) ) ; headler . actionHandler = true ; components . app [ method ] ( routeItem . path , headler ) ; }
register route path with acually function
register route path with acually function