Working :

- fix route name in ConfigController
This commit is contained in:
mespeche
2013-09-06 12:29:38 +02:00
parent c015bbe8b5
commit a9f2b70ab5
2 changed files with 2 additions and 2 deletions

View File

@@ -215,7 +215,7 @@ class BaseController extends ContainerAware
$route = $this->container->get($routerName)->getRouteCollection()->get($routeId);
if ($route == null) {
throw new InvalidArgumentException(sprintf("Route ID '%s' does not exists.", $routeId));
throw new \InvalidArgumentException(sprintf("Route ID '%s' does not exists.", $routeId));
}
return $route->getPath();