Added all prototypes to the PeopleController.
NOT ALL OF THEM ARE IMPLEMENTED, YET!
This commit is contained in:
@@ -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) {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user