From c52995aeb7cf82c5243a5cf68533675606b640ec Mon Sep 17 00:00:00 2001 From: philipp lang Date: Fri, 25 Oct 2024 00:48:52 +0200 Subject: [PATCH] Add active menu entry for setting --- app/View/Page/SettingLayout.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/View/Page/SettingLayout.php b/app/View/Page/SettingLayout.php index b9d972d6..766592dd 100644 --- a/app/View/Page/SettingLayout.php +++ b/app/View/Page/SettingLayout.php @@ -18,6 +18,7 @@ class SettingLayout extends Component 'is_active' => get_class($setting) === $active, 'title' => $setting->title(), ])->toArray(); + session()->put('menu', 'setting'); } public function render()