Commit 5e2c4b62 authored by Jérôme Tamarelle's avatar Jérôme Tamarelle

Use null controller as fake route to be dumpable

parent e7d4a2fd
......@@ -541,7 +541,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