From d96ee18bda561775ed651f93f7756cd09c5383af Mon Sep 17 00:00:00 2001 From: Exynox Date: Tue, 31 Dec 2024 20:40:58 +0200 Subject: [PATCH] Reordered view composers --- app/Providers/ViewServiceProvider.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/app/Providers/ViewServiceProvider.php b/app/Providers/ViewServiceProvider.php index 956a16f..527250f 100644 --- a/app/Providers/ViewServiceProvider.php +++ b/app/Providers/ViewServiceProvider.php @@ -23,8 +23,11 @@ public function register(): void */ public function boot(): void { + // Main application Facades\View::composer('layouts.app', ThemeComposer::class); - Facades\View::composer('layouts.mall', MallComposer::class); Facades\View::composer('layouts.app', HighscoreComposer::class); + + // Mall + Facades\View::composer('layouts.mall', MallComposer::class); } }