I have some named routes using the as parameter. Seems to work fine in 5.1, but when I use the same package in 5.2 it throws an error:
ErrorException in UrlGenerator.php line 307:
Route [/blog] not defined. (View: ...)
I've cleared all the caches to no avail.
php artisan cache:clear
php artisan view:clear
php artisan route:clear
php artisan config:clear
Have dumped:
composer dump-autoload
But still doesn't work. When I do a php artisan route:list it seems ok to me:
+--------+----------+------------------+------------+----------------------------------------------------------------+------------+
| Domain | Method | URI | Name | Action | Middleware |
+--------+----------+------------------+------------+----------------------------------------------------------------+------------+
| | GET|HEAD | blog | blog | ... | |
| | GET|HEAD | blog/feed | feed | ... | |
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire