I am working with laravel 5. At first I defined a route as follows :
Route::get('/', function()
{
echo "entered here.";
}
);
When I access it with http://localhost:8383/onboardadmin3/public/ It works fine. But when I change the route as follows :
Route::get('/test', function()
{
echo "entered here.";
}
);
and try to access it with http://localhost:8383/onboardadmin3/public/test , I get the following error :
NotFoundHttpException in RouteCollection.php line 161:
I have read the stack overflow solutions from the following links but none helped :
- Laravel 5.1 NotFoundHttpException in RouteCollection.php line 161:
- NotFoundHttpException in RouteCollection.php line 161
- in laravel 5 NotFoundHttpException in RouteCollection.php line 161
- in laravel 5 NotFoundHttpException in RouteCollection.php line 161
How can I fix this ?
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1YEjZAW
via IFTTT
Aucun commentaire:
Enregistrer un commentaire