mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: route
This commit is contained in:
parent
4c97d7e429
commit
5ee58f32ca
@ -72,7 +72,7 @@ class RouteServiceProvider extends ServiceProvider
|
||||
'middleware' => 'api',
|
||||
'namespace' => $this->namespace
|
||||
], function ($router) {
|
||||
foreach (glob(app_path('Http//Routes') . '/*.php') as $file) {
|
||||
foreach (glob(app_path('Http//Routes//V1') . '/*.php') as $file) {
|
||||
$this->app->make('App\\Http\\Routes\\V1\\' . basename($file, '.php'))->map($router);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user