Commit 0a304cc2 authored by Waterfox's avatar Waterfox
Browse files

Update web

parent ebf83120
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -194,7 +194,9 @@
 * Delete a diving session.
 * @param $id the code of the diving session
 */
Route::post('/dive/delete/{id}', function ($id, Request $request) {
Route::post('/dive/delete/{id}', function ($id, Request $request)
{
    $res = DivingSession::disable($id);
    return redirect('/create/dive');
});