summaryrefslogtreecommitdiff
path: root/src/Controllers/CreditsController.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Controllers/CreditsController.php')
-rw-r--r--src/Controllers/CreditsController.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/Controllers/CreditsController.php b/src/Controllers/CreditsController.php
new file mode 100644
index 00000000..568811c7
--- /dev/null
+++ b/src/Controllers/CreditsController.php
@@ -0,0 +1,24 @@
+<?php
+
+namespace Engelsystem\Controllers;
+
+use Engelsystem\Http\Response;
+
+class CreditsController extends BaseController
+{
+ /** @var Response */
+ protected $response;
+
+ public function __construct(Response $response)
+ {
+ $this->response = $response;
+ }
+
+ /**
+ * @return Response
+ */
+ public function index()
+ {
+ return $this->response->withView('pages/credits.twig');
+ }
+}