Missing required parameter for [Route: filament.resources.users.edit] after Customising the account

Hi. I am new to Filament. I have followed the docs to customise the account link in the user menu. I refreshed my app while logged in and all seem to work nicely. I then logged out to test with another account and I get the following error https://flareapp.io/share/47qrnQx5#F55
Flare
Missing required parameter for [Route: filament.resources.users.edit] [URI: users/{record}/edit] [Missing parameter: record]. - The error occurred at http://laravel-base.lndo.site/login
7 Replies
MikePageDev
MikePageDev14mo ago
Could really do with some help with this.
Dan Harrin
Dan Harrin14mo ago
wrap it in an auth check otherwise laravel will try and generate a route for a user that doesnt exist
MikePageDev
MikePageDev14mo ago
I did try that but when I log in there is no link.
Dan Harrin
Dan Harrin14mo ago
please show me the code
MikePageDev
MikePageDev14mo ago
I feel like an idiot now. I swear when I did it yesterday it didn't work but now it does. sorry for taking up your time.
Dan Harrin
Dan Harrin14mo ago
no worries, thank you for your patience, this question slipped my net yesterday. most people are rude about stuff like this
MikePageDev
MikePageDev14mo ago
I appreciate the time that you have put into this. I'm still trying to get my head around it all. There is no point in being rude