Skip to content

Commit 86b0ae0

Browse files
committed
Merge pull request laravel#3221 from billmn/patch-1
[5.0] Allow to use $router in routes file
2 parents fbbfa5a + 82cf205 commit 86b0ae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Providers/RouteServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function boot(Router $router)
3535
*/
3636
public function map(Router $router)
3737
{
38-
$router->group(['namespace' => $this->namespace], function()
38+
$router->group(['namespace' => $this->namespace], function($router)
3939
{
4040
require app_path('Http/routes.php');
4141
});

0 commit comments

Comments
 (0)