Events erstellen

This commit is contained in:
2026-04-04 22:59:19 +02:00
parent 77b14e753e
commit 3e5c99c3dd
7 changed files with 295 additions and 0 deletions

View File

@@ -82,4 +82,13 @@ class WebsiteController extends Controller
abort(404);
}
public function editEvents(){
if(Auth::check()){
return response()
->view('events.edit', ['events' => EventController::eventsPaginated()])
->header('Cache-Control', 'no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
}
abort(404);
}
}