Add active menu entry for setting
This commit is contained in:
parent
b467f03a82
commit
38fb1c36c9
|
@ -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