public function url($default = 'home')
    {
        $url = $this->getController()->plugin('url');
        $route = $this->getSession()->route;
        if (null === $route) {
            return $url->fromRoute($default);
        }
        return $url->fromRoute($route->getMatchedRouteName(), 
            $route->getParams());
    }