summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-15 00:59:15 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-15 00:59:15 -0700
commit2b8a767770119165ab9c9ce62ea3512c2fb3b049 (patch)
treef169dd0c54b69663888e41296641b1e4a6de042e /lib/router.php
parentdda4493af72870d61774c8389dbbab13c2dfbbc7 (diff)
make admins of groups
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]+'));