diff options
Diffstat (limited to 'routes')
-rw-r--r-- | routes/web.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/routes/web.php b/routes/web.php index d83200b..6cc36ad 100644 --- a/routes/web.php +++ b/routes/web.php @@ -30,8 +30,8 @@ use App\Http\Controllers\PagesController; //return view('about'); //}); -Route::get('/', [PagesController::class, 'index']); -Route::get('/services', [PagesController::class, 'services']); +Route::get('/', [PagesController::class, 'index'])->name('home'); +Route::get('/services', [PagesController::class, 'services'])->name('services'); -Route::get('/about', [PagesController::class, 'about']); +Route::get('/about', [PagesController::class, 'about'])->name('about'); //Route::get('/about', 'App\Http\Controllers\PagesController@about'); |