summaryrefslogtreecommitdiff
path: root/config/app.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/app.php')
-rw-r--r--config/app.php8
1 files changed, 5 insertions, 3 deletions
diff --git a/config/app.php b/config/app.php
index bb405fde..9af35eb4 100644
--- a/config/app.php
+++ b/config/app.php
@@ -8,20 +8,22 @@ return [
\Engelsystem\Logger\LoggerServiceProvider::class,
\Engelsystem\Exceptions\ExceptionsServiceProvider::class,
\Engelsystem\Config\ConfigServiceProvider::class,
- \Engelsystem\Routing\RoutingServiceProvider::class,
+ \Engelsystem\Http\UrlGeneratorServiceProvider::class,
\Engelsystem\Renderer\RendererServiceProvider::class,
\Engelsystem\Database\DatabaseServiceProvider::class,
\Engelsystem\Http\RequestServiceProvider::class,
\Engelsystem\Http\SessionServiceProvider::class,
\Engelsystem\Http\ResponseServiceProvider::class,
\Engelsystem\Http\Psr7ServiceProvider::class,
+ \Engelsystem\Middleware\RouteDispatcherServiceProvider::class,
+ \Engelsystem\Middleware\RequestHandlerServiceProvider::class,
],
// Application middleware
'middleware' => [
\Engelsystem\Middleware\SendResponseHandler::class,
\Engelsystem\Middleware\ExceptionHandler::class,
- \Engelsystem\Middleware\LegacyMiddleware::class,
- \Engelsystem\Middleware\NotFoundResponse::class,
+ \Engelsystem\Middleware\RouteDispatcher::class,
+ \Engelsystem\Middleware\RequestHandler::class,
],
];