summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-12-14 14:43:50 -0800
committerBrion Vibber <brion@pobox.com>2010-12-14 14:43:50 -0800
commit2ed1e9b126baa3d09cb41b1c4ea4016ae4f89936 (patch)
tree75ceeffc940ed332505c8e40613e075f0e6f8645
parentfefd9056da5461d8a61f53192630281b0b57cb97 (diff)
AtomPub discovery fix: gets MarsEdit's auto API detection working.
Router entry for AtomPubService was slightly off, generating an incorrect link in the RSD data.
-rw-r--r--lib/router.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/router.php b/lib/router.php
index c42cca5f6..24cda72b6 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -905,8 +905,8 @@ class Router
// AtomPub API
$m->connect('api/statusnet/app/service/:id.xml',
- array('action' => 'ApiAtomService',
- 'id' => Nickname::DISPLAY_FMT));
+ array('action' => 'ApiAtomService'),
+ array('id' => Nickname::DISPLAY_FMT));
$m->connect('api/statusnet/app/service.xml',
array('action' => 'ApiAtomService'));