diff --git a/routes/web.php b/routes/web.php index e2fca907..47376fd3 100644 --- a/routes/web.php +++ b/routes/web.php @@ -28,7 +28,7 @@ // resources/views/pages/about.blade.php - without any controller // Also, assign the route name "about" // Put one code line here below -Route::get('/about', 'about')->name('about'); +Route::view('/about', 'about')->name('about'); // Task 4: redirect the GET URL "log-in" to a URL "login"