NNTmux / newznab-tmux

Laravel based usenet indexer
GNU General Public License v3.0
207 stars 54 forks source link

Route names should always be unique. #1604

Closed Kcchouette closed 1 week ago

Kcchouette commented 1 week ago

https://github.com/NNTmux/newznab-tmux/blob/83122f9dd7389a41526938bee3e6c912f79d6cfe/routes/web.php#L79-L80

To Reproduce Steps to reproduce the behavior:

  1. run php artisan route:cache
  2. See the error Unable to prepare route [forgottenpassword] for serialization. Another route has already been assigned name [forgottenpassword].

Expected behavior

Additional context https://laravel.com/docs/11.x/routing#named-routes:

Route names should always be unique.

Kcchouette commented 1 week ago

There are multiples non-unique route name (series, search, logout, profile_delete, profiledit, ...)

jjaomni commented 1 week ago

woooooooooo!!!! thanks..