summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-10-12 15:49:20 -0700
committerBrion Vibber <brion@pobox.com>2010-10-12 15:49:20 -0700
commitf4f16af8ac6c2bb1d5561bd85b4908fd3f9e1dbb (patch)
treeece8435220021819467e394845d1195d0735155a /lib/router.php
parentbc0d7f14db27881e2dc8fad8b02ce4e2cfd19847 (diff)
Add a basic group deletion for moderator users.
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/router.php b/lib/router.php
index 00b299373..b1cc8d529 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -276,7 +276,7 @@ class Router
$m->connect('group/new', array('action' => 'newgroup'));
- foreach (array('edit', 'join', 'leave') as $v) {
+ foreach (array('edit', 'join', 'leave', 'delete') as $v) {
$m->connect('group/:nickname/'.$v,
array('action' => $v.'group'),
array('nickname' => '[a-zA-Z0-9]+'));