Commit 86b0ae08 authored by Taylor Otwell's avatar Taylor Otwell

Merge pull request #3221 from billmn/patch-1

[5.0] Allow to use $router in routes file
parents fbbfa5a5 82cf2052
......@@ -35,7 +35,7 @@ class RouteServiceProvider extends ServiceProvider {
*/
public function map(Router $router)
{
$router->group(['namespace' => $this->namespace], function()
$router->group(['namespace' => $this->namespace], function($router)
{
require app_path('Http/routes.php');
});
......
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