Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/contacts.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2018-11-19 21:35:56 +0300
committerGeorg Ehrke <developer@georgehrke.com>2018-11-19 21:35:56 +0300
commitb7b80da8c6fe4d7a8bee04fa1bb93fe767de0254 (patch)
tree71a7ea226a47bedbe8b37a18f8040280db19ea92 /lib/Controller
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/Controller')
-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();
- }
-
}