summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index e10871bc0..0fbaba9ed 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -233,6 +233,10 @@ class Router
array('action' => 'blockedfromgroup'),
array('nickname' => '[a-zA-Z0-9]+'));
+ $m->connect('group/:nickname/makeadmin',
+ array('action' => 'makeadmin'),
+ array('nickname' => '[a-zA-Z0-9]+'));
+
$m->connect('group/:id/id',
array('action' => 'groupbyid'),
array('id' => '[0-9]+'));