diff options
author | Evan Prodromou <evan@status.net> | 2010-02-25 18:39:55 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-02-25 18:39:55 -0500 |
commit | 76216af806b1a683e1b885724bc68906214209c2 (patch) | |
tree | a187f3a66486819a8d5b7757cb119cbd74f4ff35 /lib/router.php | |
parent | 5ea01435c1c4d0f3c4d7de5ee024b1365c8a2ace (diff) |
Add an hcard action
A dedicated hcard action for users. Our profile page includes
an hcard, but it's so full of other hcards that it's ambiguous which
one is the "real" one. So, this one make sense for meaning, "This is
my hcard."
Diffstat (limited to 'lib/router.php')
-rw-r--r-- | lib/router.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/router.php b/lib/router.php index 987d0152e..16b2847d3 100644 --- a/lib/router.php +++ b/lib/router.php @@ -668,7 +668,7 @@ class Router foreach (array('subscriptions', 'subscribers', 'all', 'foaf', 'xrds', - 'replies', 'microsummary') as $a) { + 'replies', 'microsummary', 'hcard') as $a) { $m->connect($a, array('action' => $a, 'nickname' => $nickname)); @@ -734,7 +734,7 @@ class Router foreach (array('subscriptions', 'subscribers', 'nudge', 'all', 'foaf', 'xrds', - 'replies', 'inbox', 'outbox', 'microsummary') as $a) { + 'replies', 'inbox', 'outbox', 'microsummary', 'hcard') as $a) { $m->connect(':nickname/'.$a, array('action' => $a), array('nickname' => '[a-zA-Z0-9]{1,64}')); |