Events erstellen
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user