summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-08-03 11:38:29 +0200
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2020-08-03 12:05:50 +0200
commitfd91fabc64ab6aa19e12e2d5202615d63b8cdb6c (patch)
tree9f6f5aeaf5ad0400100420e1586b968f36ce08c1 /appinfo
parentc17a3eaeb96d3e5c2f77becf56e6588f24187a69 (diff)
Allow to get direct contact route
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 647b8f27..6bdf24a3 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -23,6 +23,7 @@
return [
'routes' => [
+ ['name' => 'contacts#direct', 'url' => '/direct/{contact}', 'verb' => 'GET'],
['name' => 'page#index', 'url' => '/', 'verb' => 'GET'],
['name' => 'page#index', 'url' => '/{group}', 'verb' => 'GET', 'postfix' => 'group'],
['name' => 'page#index', 'url' => '/{group}/{contact}', 'verb' => 'GET', 'postfix' => 'group.contact'],