so when i open my laravel i get this error: Symfony\Component\Routing\Exception\RouteNotFoundException Route [games.mines] not defined. (View: C:\private\gamble\resources\views\games\mines.blade.php)
but when i remove the line: mines. my page will load in. and im completely lost in how to fix this.
basically i just want to add a header with a button to my mines. the button to dashboard works fine
CodePudding user response:
You can try typing these instructions from the command terminal:
php artisan cache:clear
php artisan view:clear
php artisan route:cache
php artisan config:cache
php artisan optimize
You may have a problem with the Laravel cache, these commands will clear the Laravel cache.
CodePudding user response:
The standard procedure to clear the Laravel cache is:
php artisan cache:clear
php artisan view:clear
php artisan route:cache
php artisan config:cache
php artisan optimize
This is according to the following article: https://beyondco.de/blog/laravel-caches-and-all-ways-to-clear-them
