Routes defined by Laravel resource can only access index,. The rest of them return 404.

Laravel version5.5, uses php artisan serve to start the metropolis server

to confirm that the route has been registered, the result obtained by using php artisan route:list is as follows

clipboard.png

visit / batches and return 200 correctly

visit / batches/1 and return 404

has used php artisan route:clear to clear the routing cache.

I am puzzled.

Feb.28,2021

is bastch/1 singular try

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e50859-450d9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e50859-450d9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?