summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-10-08 15:59:00 -0700
committerZach Copley <zach@status.net>2009-10-08 15:59:00 -0700
commitada84698f2e82c1c659d872dea0c4545ef93509a (patch)
tree60a89680a8d1e6bc40acaec42e42e0613edcc2c9 /lib
parent62059fec832014411f604d9cc669b7d3201a60d5 (diff)
New action for test/help API method
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