diff options
author | Georg Ehrke <developer@georgehrke.com> | 2018-11-19 21:35:56 +0300 |
---|---|---|
committer | Georg Ehrke <developer@georgehrke.com> | 2018-11-19 21:35:56 +0300 |
commit | b7b80da8c6fe4d7a8bee04fa1bb93fe767de0254 (patch) | |
tree | 71a7ea226a47bedbe8b37a18f8040280db19ea92 /lib/Controller | |
parent | 4bd0f4b3170c9df1d70554dbfd21c7dcc125cbbc (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/Controller')
-rw-r--r-- | lib/Controller/PageController.php | 20 |
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(); - } - } |