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.
This commit is contained in:
Brion Vibber 2010-12-14 14:43:50 -08:00
parent fefd9056da
commit 2ed1e9b126

View 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'));