add sup with arguments
This commit is contained in:
parent
c172cbafaa
commit
e28c4689ce
|
@ -107,6 +107,9 @@ class Router
|
||||||
$m->connect('main/'.$a, array('action' => $a));
|
$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'));
|
$m->connect('main/tagother/:id', array('action' => 'tagother'));
|
||||||
|
|
||||||
// these take a code
|
// these take a code
|
||||||
|
|
Loading…
Reference in New Issue
Block a user