flight/Engine.php
public function _route($pattern, $callback, $pass_route = false) {
        $this->router()->map($pattern, $callback, $pass_route);
    }
public function _route($pattern, $callback, $pass_route = false) {
        $this->router()->map($pattern, $callback, $pass_route);
    }
Routes a URL to a callback function.

@param string $pattern URL pattern to match
@param callback $callback Callback function
@param boolean $pass_route Pass the matching route object to the callback