From 94133ec0f7fdac3367eac19a40082c4d18de96f5 Mon Sep 17 00:00:00 2001 From: Frankie B Date: Sun, 16 Jul 2023 01:49:09 +0100 Subject: feat: add guestbook with rate limiting (#6) * Re-add guestbook w/ rate limiting * Add guestbook to navbar --- routes/web.php | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'routes/web.php') diff --git a/routes/web.php b/routes/web.php index 055b4e5..6185449 100644 --- a/routes/web.php +++ b/routes/web.php @@ -32,3 +32,12 @@ Route::get('/calculators', function () { Route::get('/computers', function () { return View::make('pages.computers'); }); + +Route::get('/guestbook', 'App\Http\Controllers\GuestbookController@guestbook') + ->name('guestbook'); + +Route::post('/guestbook', 'App\Http\Controllers\GuestbookController@guestbookpost') + ->name('guestbookPost') + ->middleware('rate_limit'); + + -- cgit v1.2.3-54-g00ecf