I have created some routes in Laravel using Route::methods and also resources but some admin and non-admin routes add extra 'admin' prefix in routes.
So when I am calling the routes it does not work without adding an extra prefix like "admin/admin/profile"
My some findings
- I have already checked any double prefix is not added in the routes.
- And Also check with php artisan route: list. It would show the correct route list without any extra prefixes.
Answer
Check below thing i think this will help you.
-> If you still having problem then you can check your all rout list by below command
-> Or you can use to check uri by current()->uri() function to get current URI
-> I hope this is help you.