summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/router.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/router.php b/lib/router.php
index 3c50fb25e..cf5c06b26 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -480,9 +480,9 @@ class Router
// help
- $m->connect('api/help/:method',
- array('action' => 'api',
- 'apiaction' => 'help'));
+ $m->connect('api/help/test.:format',
+ array('action' => 'ApiHelpTest',
+ 'format' => '(xml|json)'));
// statusnet