From 2ed1e9b126baa3d09cb41b1c4ea4016ae4f89936 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Tue, 14 Dec 2010 14:43:50 -0800 Subject: [PATCH] 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. --- lib/router.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')); -- 2.39.2