diff options
author | Brenda Wallace <shiny@cpan.org> | 2010-05-22 20:06:18 +1200 |
---|---|---|
committer | Brenda Wallace <shiny@cpan.org> | 2010-05-22 20:06:18 +1200 |
commit | d7d49942f76a00fad2c23175cdc5b7c5a2973814 (patch) | |
tree | 1e82bab9b641272d473f9d3ff63c98d53b988960 /lib/router.php | |
parent | fa4a2d34855da5eca29d81409cb5fbd64f13faba (diff) | |
parent | 6eae5d6a7e2265de4065b764c28cef3ee009bcda (diff) |
Merge commit 'mainline/0.9.x' into 0.9.x
Diffstat (limited to 'lib/router.php')
-rw-r--r-- | lib/router.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php index a9d07276f..afe44f92a 100644 --- a/lib/router.php +++ b/lib/router.php @@ -136,6 +136,11 @@ class Router $m->connect('main/'.$a, array('action' => $a)); } + // Also need a block variant accepting ID on URL for mail links + $m->connect('main/block/:profileid', + array('action' => 'block'), + array('profileid' => '[0-9]+')); + $m->connect('main/sup/:seconds', array('action' => 'sup'), array('seconds' => '[0-9]+')); |