From 54f80ce6d9e7c65e4bf094cfcc26007babb79e9d Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Tue, 22 Nov 2016 13:33:23 +0100 Subject: [PATCH] Add SubAdminMiddleware back Removed by mistake in #1946 Signed-off-by: Lukas Reschke --- settings/Application.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/settings/Application.php b/settings/Application.php index ca2b2b91f71..14110c6ca95 100644 --- a/settings/Application.php +++ b/settings/Application.php @@ -69,6 +69,8 @@ class Application extends App { // Register Middleware $container->registerAlias('SubadminMiddleware', SubadminMiddleware::class); + $container->registerMiddleWare('SubadminMiddleware'); + /** * Controllers */ -- 2.39.5