summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-04-03 12:47:25 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-04-03 12:47:25 -0400
commitd68ac2e1d3319193c8ee01db4c2adf846fe4accf (patch)
tree3651b67fff460c853c6f245ee827352273b3f6c3 /lib/router.php
parentbd120bc3153e3502790ec976769febd41f790568 (diff)
parent26194cd1d6dbd7ceb021b8e215e7a7ad7b29116f (diff)
Merge branch '0.7.x' into 0.8.x
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index 67b8b8ae6..060253eb5 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