New actions for the account methods we have implemented

This commit is contained in:
Zach Copley
2009-10-05 17:10:30 -07:00
parent dd0d907231
commit 475bdf6fba
4 changed files with 246 additions and 130 deletions

View File

@@ -434,9 +434,16 @@ class Router
// account
$m->connect('api/account/:method',
array('action' => 'api',
'apiaction' => 'account'));
$m->connect('api/account/verify_credentials.:format',
array('action' => 'ApiAccountVerifyCredentials'));
// special case where verify_credentials is called w/out a format
$m->connect('api/account/verify_credentials',
array('action' => 'ApiAccountVerifyCredentials'));
$m->connect('api/account/rate_limit_status.:format',
array('action' => 'ApiAccountRateLimitStatus'));
// favorites