Add active menu entry for setting
This commit is contained in:
parent
e6d33ba2de
commit
644a70a082
|
@ -18,6 +18,7 @@ class SettingLayout extends Component
|
||||||
'is_active' => get_class($setting) === $active,
|
'is_active' => get_class($setting) === $active,
|
||||||
'title' => $setting->title(),
|
'title' => $setting->title(),
|
||||||
])->toArray();
|
])->toArray();
|
||||||
|
session()->put('menu', 'setting');
|
||||||
}
|
}
|
||||||
|
|
||||||
public function render()
|
public function render()
|
||||||
|
|
Loading…
Reference in New Issue