Move route defination files to /routes
This commit is contained in:
parent
3560db200c
commit
6aebb483a1
@ -62,7 +62,7 @@ class RouteServiceProvider extends ServiceProvider
|
|||||||
'middleware' => ['web', CheckSessionUserValid::class],
|
'middleware' => ['web', CheckSessionUserValid::class],
|
||||||
'namespace' => $this->namespace,
|
'namespace' => $this->namespace,
|
||||||
], function ($router) {
|
], function ($router) {
|
||||||
require app_path('Http/Routes/web.php');
|
require base_path('routes/web.php');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -80,7 +80,7 @@ class RouteServiceProvider extends ServiceProvider
|
|||||||
'middleware' => 'web',
|
'middleware' => 'web',
|
||||||
'namespace' => $this->namespace,
|
'namespace' => $this->namespace,
|
||||||
], function ($router) {
|
], function ($router) {
|
||||||
require app_path('Http/Routes/setup.php');
|
require base_path('routes/setup.php');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -98,7 +98,7 @@ class RouteServiceProvider extends ServiceProvider
|
|||||||
'middleware' => 'static',
|
'middleware' => 'static',
|
||||||
'namespace' => $this->namespace,
|
'namespace' => $this->namespace,
|
||||||
], function ($router) {
|
], function ($router) {
|
||||||
require app_path('Http/Routes/static.php');
|
require base_path('routes/static.php');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user