From 7b6daa47ebf9b5af27490f3cb803d2826160f51d 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()