diff options
author | Robin Millette <millette@controlyourself.ca> | 2009-05-18 17:18:57 -0400 |
---|---|---|
committer | Robin Millette <millette@controlyourself.ca> | 2009-05-18 17:18:57 -0400 |
commit | 0271859c2425daff6fbaeac74aee6d6a9fcdce16 (patch) | |
tree | a93565653ec11237b71a2bcf87d6fbe2fcbcb9f8 /lib/router.php | |
parent | 5897dfa4c37d6a44bcde5dc7569c8b0d30f21b84 (diff) |
Added personal tag page: http://example.com/MY_NICK/tag/A_TAG
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 635e1d77e..f07e59373 100644 --- a/lib/router.php +++ b/lib/router.php @@ -426,6 +426,11 @@ class Router array('size' => '(original|96|48|24)', 'nickname' => '[a-zA-Z0-9]{1,64}')); + $m->connect(':nickname/tag/:tag', + array('action' => 'showstream'), + array('nickname' => '[a-zA-Z0-9]{1,64}'), + array('tag' => '[a-zA-Z0-9]+')); + $m->connect(':nickname', array('action' => 'showstream'), array('nickname' => '[a-zA-Z0-9]{1,64}')); |