From: Brion Vibber Date: Tue, 14 Dec 2010 22:43:50 +0000 (-0800) Subject: AtomPub discovery fix: gets MarsEdit's auto API detection working. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2ed1e9b126baa3d09cb41b1c4ea4016ae4f89936;p=quix0rs-gnu-social.git 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. --- diff --git a/lib/router.php b/lib/router.php index c42cca5f60..24cda72b61 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'));