jeudi 29 octobre 2015

Laravel 5 - route not working

I am studying Laravel 5 now.

I have add new route as following:

Route::get('items', function () {
    // test code
});

Route::get('items/create', function () {
    echo "test";
    die();
    // test code
});

And I tried show my code on my webbrowser(http://localhost:8000/items/create). But I have got 503 error. And http://localhost:8000/items works fine. How can I fix it? Please help me.

Thanks.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire