dimanche 14 février 2016

laravel 5.1 : Route issue

I have defined a route:

Route::get('admins', function () {
    return view('admins/index');
});

When i access localhost/project/public/admins then the project loads correctly but when i access localhost/project/public/admins/ just by adding the / after admins then the localhost/admins loads which isn't there and throws 404.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire