Allow to use $router in routes file
This commit is contained in:
parent
8780949bec
commit
82cf205242
|
@ -35,7 +35,7 @@ public function boot(Router $router)
|
||||||
*/
|
*/
|
||||||
public function map(Router $router)
|
public function map(Router $router)
|
||||||
{
|
{
|
||||||
$router->group(['namespace' => $this->namespace], function()
|
$router->group(['namespace' => $this->namespace], function($router)
|
||||||
{
|
{
|
||||||
require app_path('Http/routes.php');
|
require app_path('Http/routes.php');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue