I have defined a route in laravel 8 with name activate product
But when I’m trying to use it in any blade. It give an error that route not found.
I tried to change the route many times as I can but nothing seems to work.
>Solution :
I had the same issue before and I run:
php artisan route:clear
It worked for me.