NotFoundHttpException in RouteCollection.php in laravel 5.4 -
i created new project via composer create-project laravel/laravel test 5.4.* go browser see localhost if working localhost/test/public , works redirect me welcome page, when tried test
route::get('/test', function(){ return 'test'; });
then go localhost/test/public/test shows me error
notfoundhttpexception: in routecollection.php (line 179)
is solved issue? instead of localhost/test/public/test
try localhost/test/public/index.php/test
. of course can use laravel's own server. suitable developing usages.
Comments
Post a Comment