diff options
author | Brion Vibber <brion@pobox.com> | 2010-05-21 13:12:25 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-05-21 13:12:25 -0700 |
commit | 87b8a89aa7b96e63586bdd3b1afb9d43355fd48b (patch) | |
tree | ef227ad50cd25699d34dd1a3364ac0cf430443da /lib/router.php | |
parent | a39a934dd4a133bad6e76fa9a5018cedcb70225c (diff) | |
parent | bbfd6eff0c69f038d151d3bf6c8bf9b45a64716f (diff) |
Merge branch 'master' of gitorious.org:statusnet/mainline into testing
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]+')); |