Added all prototypes to the PeopleController.

NOT ALL OF THEM ARE IMPLEMENTED, YET!
This commit is contained in:
Lukas Halbritter
2018-09-24 18:51:49 +02:00
parent f86ce156f9
commit c3ea32f228
+20
View File
@@ -26,4 +26,24 @@ class PeopleController extends Controller
return view('people.show', compact('person', 'memberStates', 'targets', return view('people.show', compact('person', 'memberStates', 'targets',
'actuals')); '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) {}
} }