Browse Source

Allow to use $router in routes file

Davide Bellini 9 years ago
parent
commit
82cf205242
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Providers/RouteServiceProvider.php

+ 1 - 1
app/Providers/RouteServiceProvider.php

@@ -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');
 		});