framework/web/GroupUrlRule.php
public function createUrl($manager, $route, $params)
    {
        if ($this->routePrefix === '' || strpos($route, $this->routePrefix . '/') === 0) {
            return parent::createUrl($manager, $route, $params);
        }

        $this->createStatus = UrlRule::CREATE_STATUS_ROUTE_MISMATCH;
        return false;
    }
public function createUrl($manager, $route, $params)
    {
        if ($this->routePrefix === '' || strpos($route, $this->routePrefix . '/') === 0) {
            return parent::createUrl($manager, $route, $params);
        }

        $this->createStatus = UrlRule::CREATE_STATUS_ROUTE_MISMATCH;
        return false;
    }
{@inheritdoc}