diff --git a/src/app/Controllers/PrivacyController.php b/src/app/Controllers/PrivacyController.php new file mode 100644 index 0000000..7c066de --- /dev/null +++ b/src/app/Controllers/PrivacyController.php @@ -0,0 +1,41 @@ + $params + */ + public function index(array $params = []): Response + { + $guard = $this->guard(); + if ($guard instanceof Response) { + return $guard; + } + + return $this->adminView('admin/privacy', [ + 'title' => 'Traitement des donnees personnelles - Wakdo Admin', + 'activeNav' => '', + ], $guard); + } +} diff --git a/src/app/Views/admin/layout.php b/src/app/Views/admin/layout.php index 8a5e77c..1db63c7 100644 --- a/src/app/Views/admin/layout.php +++ b/src/app/Views/admin/layout.php @@ -72,6 +72,7 @@ $navClass = static function (string $code, string $current): string {