summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2018-11-19 19:35:56 +0100
committerGeorg Ehrke <developer@georgehrke.com>2018-11-19 19:35:56 +0100
commitb7b80da8c6fe4d7a8bee04fa1bb93fe767de0254 (patch)
tree71a7ea226a47bedbe8b37a18f8040280db19ea92 /lib
parent4bd0f4b3170c9df1d70554dbfd21c7dcc125cbbc (diff)
use postfix option for routes to prevent having duplicate view controller methods
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/Controller/PageController.php20
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php
index b2dd716e..107f859e 100644
--- a/lib/Controller/PageController.php
+++ b/lib/Controller/PageController.php
@@ -50,24 +50,4 @@ class PageController extends Controller {
return new TemplateResponse('contacts', 'main', $params); // templates/main.php
}
- /**
- * @NoAdminRequired
- * @NoCSRFRequired
- *
- * Default routing for groups
- */
- public function indexGroup(): TemplateResponse {
- return $this->index();
- }
-
- /**
- * @NoAdminRequired
- * @NoCSRFRequired
- *
- * Default routing for contacts
- */
- public function indexContact(): TemplateResponse {
- return $this->index();
- }
-
}