diff options
Diffstat (limited to 'routes')
-rw-r--r-- | routes/web.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/routes/web.php b/routes/web.php index 7284bc3..36e9d70 100644 --- a/routes/web.php +++ b/routes/web.php @@ -60,7 +60,7 @@ Route::get('/admin/guestbook/delete', function () { } $id = request()->input('id'); - $entry = DB::table('guestbook_entries')->find($id); + $entry = DB::table('guestbook__entries')->find($id); if ($entry) { // Render a confirmation view @@ -78,7 +78,7 @@ Route::post('/admin/guestbook/delete', function () { } $id = request()->input('id'); - DB::table('guestbook_entries')->where('id', $id)->delete(); + DB::table('guestbook__entries')->where('id', $id)->delete(); return back()->with('success', 'Entry deleted successfully!'); }); |