From c3ea32f2280de9fcbfa45f6f43aea1826657acf9 Mon Sep 17 00:00:00 2001 From: Lukas Halbritter Date: Mon, 24 Sep 2018 18:51:49 +0200 Subject: [PATCH] Added all prototypes to the PeopleController. NOT ALL OF THEM ARE IMPLEMENTED, YET! --- app/Http/Controllers/PeopleController.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/app/Http/Controllers/PeopleController.php b/app/Http/Controllers/PeopleController.php index 06d9b9e..287a8f1 100644 --- a/app/Http/Controllers/PeopleController.php +++ b/app/Http/Controllers/PeopleController.php @@ -26,4 +26,24 @@ class PeopleController extends Controller return view('people.show', compact('person', 'memberStates', 'targets', 'actuals')); } + + // Show the form for creating a new person + public function create() {} + + // Store a new person in the database + public function store() {} + + // Show the form for editing a existing person + public function edit(Person $person) { + return view('people.edit', compact('person')); + } + + // Store the edited data of an existing person in the database + public function update(Person $person) {} + + // Show the delete dialog for a given person + public function delete(Person $person) {} + + // Actualla delete a person from the database + public function destroy(Person $person) {} }