How to add edit profile in nova without pacakage #6290
Answered
by
webard
shubhamserverfront
asked this question in
Q&A
-
Description:I want to add edit profile option without pacakage Detailed steps to reproduce the issue on a fresh Nova installation:I am using nova 4 and with logout i want to add edit profile option how can i add that without using any package and i didn't find from where logout is coming i only find it's route |
Beta Was this translation helpful? Give feedback.
Answered by
webard
Mar 20, 2024
Replies: 1 comment 3 replies
-
|
In Nova::userMenu(function (Request $request, Menu $menu) {
$menu->prepend(
MenuItem::make(
'My Profile',
"/resources/users/{$request->user()?->getKey()}"
),
);
return $menu;
}); |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
crynobone
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


In
NovaServiceProviderbootmethod: