]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
AtomPub discovery fix: gets MarsEdit's auto API detection working.
authorBrion Vibber <brion@pobox.com>
Tue, 14 Dec 2010 22:43:50 +0000 (14:43 -0800)
committerBrion Vibber <brion@pobox.com>
Tue, 14 Dec 2010 22:43:50 +0000 (14:43 -0800)
Router entry for AtomPubService was slightly off, generating an incorrect link in the RSD data.

lib/router.php

index c42cca5f60e6ca914de3a264ba7e6dc297f91b66..24cda72b61f3554073c241c001a6269e7d545001 100644 (file)
@@ -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'));