Home > Mobile >  I have removed a route from web.php and this route still working in laravel 5
I have removed a route from web.php and this route still working in laravel 5

Time:12-31

I am working in laravel 5 an existing project downloaded from cpanel. I want to make some changes but my changes do not have any affect. I, at the end remove the route but route still working. There is no any extra route file binding in routeServiceProvider not required or included in web.php. I am wondering how it could be happened? I have tried:

php aritsan cache:clear
php artisan config:clear

can somebody please tell me what could be the issue ?

CodePudding user response:

please run the following:

php artisan route:cache

After running this command, your cached routes file will be loaded on every request.

CodePudding user response:

Please, run the following command:

php artisan route:clear
  • Related