Commit f44db3ed authored by Jérôme Tamarelle's avatar Jérôme Tamarelle Committed by Fabien Potencier

Use null controller as fake route to be dumpable

parent 86d04101
......@@ -550,7 +550,7 @@ class SecurityServiceProvider implements ServiceProviderInterface
foreach ($this->fakeRoutes as $route) {
list($method, $pattern, $name) = $route;
$app->$method($pattern, function() {})->bind($name);
$app->$method($pattern, null)->bind($name);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment