summaryrefslogtreecommitdiff
path: root/src/web/_controller/apps/people.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/_controller/apps/people.php')
-rw-r--r--src/web/_controller/apps/people.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/web/_controller/apps/people.php b/src/web/_controller/apps/people.php
index 19910ac..86da3b3 100644
--- a/src/web/_controller/apps/people.php
+++ b/src/web/_controller/apps/people.php
@@ -17,10 +17,17 @@ class People_controller extends Controller {
parent::index();
$data = $this->people_model->get_data();
$this->view('header', $data);
+ $this->view('apps/people/header', $data);
$this->view('apps/people/main', $data);
+ $this->view('apps/people/footer', $data);
$this->view('footer', $data);
}
+ public function content(): void {
+ $data = $this->people_model->get_data();
+ $this->view('apps/people/main', $data);
+ }
+
/**
* @return array<string,mixed>
*/