summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-04-01 18:29:10 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-04-01 18:29:10 -0400
commite28c4689cee5a832c281b0329c9d279e4bbd9d33 (patch)
tree5acef06e241defce8ec94a279d2cd9c4ad5420a5 /lib
parentc172cbafaa9ba17ff8ca5c6dd07741bd0de96871 (diff)
add sup with arguments
Diffstat (limited to 'lib')
-rw-r--r--lib/router.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index ae5b5e16b..6fb2f9487 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -107,6 +107,9 @@ class Router
$m->connect('main/'.$a, array('action' => $a));
}
+ $m->connect('main/sup/:seconds', array('action' => 'sup'),
+ array('seconds' => '[0-9]+'));
+
$m->connect('main/tagother/:id', array('action' => 'tagother'));
// these take a code