From ada84698f2e82c1c659d872dea0c4545ef93509a Mon Sep 17 00:00:00 2001 From: Zach Copley Date: Thu, 8 Oct 2009 15:59:00 -0700 Subject: New action for test/help API method --- lib/router.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/router.php') 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 -- cgit v1.2.3-54-g00ecf