jeudi 24 décembre 2015

How to add Laravel route

Crated laravel project using below command

composer create-project --prefer-dist laravel/laravel blog

successfully created blog project "http://localhost/blog/public/" after that added below code in "routes.php" file

Route::get('about', function () {
    return view('welcome');
});

but after that when i type "http://localhost/blog/public/about" its displaying 404 page.

if any have any idea please share with me



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire