feat: add guestbook with rate limiting (#6)

* Re-add guestbook w/ rate limiting
* Add guestbook to navbar
This commit is contained in:
Frankie B 2023-07-16 01:49:09 +01:00 committed by GitHub
commit 94133ec0f7
12 changed files with 329 additions and 91 deletions

View file

@ -32,3 +32,12 @@
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');