I'm working with the default auth of laravel, the question I have is that to edit the profile, is it necessary to pass the user's $ id in the edit form? this $ id is captured by the EDIT method of the UserController and then by the UPDATE method, can only auth () be taken from the form to the controller? Is there any way to make the urls cleaner?
I am new to laravel and I have to make a small application that will later have an api of
I enclose screenshot of the user profile, form and controller routes
Thanks for the help!