Search code examples
laravel

Symfony\Component\Routing\Exception\RouteNotFoundException Route [games.mines] not defined. C:\private\gamble\resources\views\games\mines.blade.php)


enter image description here

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


Solution

  • 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.