mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-20 08:52:15 +00:00
- API routes refactoring part 3
This commit is contained in:
@@ -49,6 +49,8 @@ class RouteServiceProvider extends ServiceProvider
|
||||
$this->mapSetupWizardApiRoutes();
|
||||
|
||||
$this->mapUserApiRoutes();
|
||||
|
||||
$this->mapMaintenanceRoutes();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -65,6 +67,13 @@ class RouteServiceProvider extends ServiceProvider
|
||||
->group(base_path('routes/web.php'));
|
||||
}
|
||||
|
||||
protected function mapMaintenanceRoutes()
|
||||
{
|
||||
Route::middleware('web')
|
||||
->namespace($this->namespace)
|
||||
->group(base_path('routes/maintenance.php'));
|
||||
}
|
||||
|
||||
/**
|
||||
* Define the "api" routes for the application.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user