From ed2063a5e9235f2ad6e63b2c83a643d57d8f723b Mon Sep 17 00:00:00 2001 From: Amimi Achraf <31471856+aamimi@users.noreply.github.com> Date: Tue, 16 Jul 2024 00:56:11 -0400 Subject: [PATCH 1/2] Update web.php --- routes/web.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/routes/web.php b/routes/web.php index 810aa34..4f05a4d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -14,3 +14,8 @@ Route::get('/', function () { return view('welcome'); }); + +Route::get( + '/hello', + function(){ + return 'Hello World';}); From 41473b2af1894c5cfa29b4a728b2b9a4170377cf Mon Sep 17 00:00:00 2001 From: Amimi Achraf <31471856+aamimi@users.noreply.github.com> Date: Tue, 16 Jul 2024 01:07:45 -0400 Subject: [PATCH 2/2] Update web.php --- routes/web.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/routes/web.php b/routes/web.php index 4f05a4d..e1ef68c 100644 --- a/routes/web.php +++ b/routes/web.php @@ -15,7 +15,6 @@ return view('welcome'); }); -Route::get( - '/hello', - function(){ - return 'Hello World';}); +Route::get('/hello', function() { + return 'Hello World'; +});