I'm a beginner in frame work Laravel, I'm using Laravel 5.3 - I created a new project - laravel-. - It run fine on URL "http://localhost/laravel/public/" - I added a new route called "home" in web.php file as:
<?php
Route::get('/', function () {
return view('welcome');
});
Route::get('/home', function () {
return 'This is home.';
});
- I tested "http://localhost/laravel/public/home" but it return
Not Found The requested URL /laravel/public/home was not found on this server.
Where is the problem? thank you.