summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@status.net>2010-10-24 23:43:26 -0400
committerEvan Prodromou <evan@status.net>2010-10-24 23:43:26 -0400
commit59a7d78acb09c92622814d55c14e266f8f460fdf (patch)
tree8ca8aa1d3e433f5c6eba41fa33d5081cb630d133 /lib/router.php
parent698818bd7eee94e92f23967897862857a190c6ea (diff)
Atom Service Document
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index 834445f09..c0f3bf31d 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -686,6 +686,13 @@ class Router
$m->connect('api/oauth/authorize',
array('action' => 'ApiOauthAuthorize'));
+ $m->connect('api/statusnet/app/service/:id.xml',
+ array('action' => 'ApiAtomService',
+ 'id' => '[a-zA-Z0-9]+'));
+
+ $m->connect('api/statusnet/app/service.xml',
+ array('action' => 'ApiAtomService'));
+
// Admin
$m->connect('admin/site', array('action' => 'siteadminpanel'));