summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-07-02 17:32:27 -0700
committerZach Copley <zach@controlyourself.ca>2009-07-02 17:32:27 -0700
commitacb4c783463660710e894ecb54ebaebb3d1ae77c (patch)
tree279419a018d4c6f8985bfabb36e55ceadbfd7637 /lib/router.php
parentc02acd7341cc3104b75a56e0b8dfd4811e77e278 (diff)
Route and stub for new friendships/show API method
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/router.php b/lib/router.php
index 784ea9882..50b733453 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -317,7 +317,7 @@ class Router
$m->connect('api/friendships/:method',
array('action' => 'api',
'apiaction' => 'friendships'),
- array('method' => 'exists(\.(xml|json))'));
+ array('method' => '(show|exists)(\.(xml|json))'));
// Social graph