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.
CodePudding user response:
I had the same issue before and I run:
php artisan route:clear
It worked for me.
CodePudding user response:
Check the name controller and method in route file and if want you write route code here to be check it