diff options
author | Frankie B <git@diskfloppy.me> | 2023-07-16 01:49:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-16 01:49:09 +0100 |
commit | 8482a98ca6a767062917747a0b016a9ab4d35f01 (patch) | |
tree | 0ab0e8d3baf5b421ab909bc731334e2deff82fe0 /routes/web.php | |
parent | 1b267f61029e7d4b824979709434ffb437c347b8 (diff) |
feat: add guestbook with rate limiting (#6)
* Re-add guestbook w/ rate limiting
* Add guestbook to navbar
Diffstat (limited to 'routes/web.php')
-rw-r--r-- | routes/web.php | 9 |
1 files changed, 9 insertions, 0 deletions
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'); + + |