diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-04-01 18:29:10 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-04-01 18:29:10 -0400 |
commit | e28c4689cee5a832c281b0329c9d279e4bbd9d33 (patch) | |
tree | 5acef06e241defce8ec94a279d2cd9c4ad5420a5 /lib | |
parent | c172cbafaa9ba17ff8ca5c6dd07741bd0de96871 (diff) |
add sup with arguments
Diffstat (limited to 'lib')
-rw-r--r-- | lib/router.php | 3 |
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 |