summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-09-22 23:30:50 +0000
committerZach Copley <zach@status.net>2010-09-22 23:33:06 +0000
commit84331ca7bd2a93283762b638eb25bbbd7d5e36f7 (patch)
treeeb043f8ea77c833b67d099778d6fb16244ad2409 /lib
parent870be512d23f4f6dadb97a72fec45a9596ac62ef (diff)
Fix for ticket 2756 - Calls to OAuth endpoints are redirected to the
login page when a site is in private mode
Diffstat (limited to 'lib')
-rw-r--r--lib/router.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/router.php b/lib/router.php
index fb5a3c7c3..00b299373 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -488,19 +488,19 @@ class Router
// Social graph
$m->connect('api/friends/ids/:id.:format',
- array('action' => 'apiuserfriends',
+ array('action' => 'ApiUserFriends',
'ids_only' => true));
$m->connect('api/followers/ids/:id.:format',
- array('action' => 'apiuserfollowers',
+ array('action' => 'ApiUserFollowers',
'ids_only' => true));
$m->connect('api/friends/ids.:format',
- array('action' => 'apiuserfriends',
+ array('action' => 'ApiUserFriends',
'ids_only' => true));
$m->connect('api/followers/ids.:format',
- array('action' => 'apiuserfollowers',
+ array('action' => 'ApiUserFollowers',
'ids_only' => true));
// account
@@ -672,13 +672,13 @@ class Router
$m->connect('api/trends.json', array('action' => 'ApiTrends'));
$m->connect('api/oauth/request_token',
- array('action' => 'apioauthrequesttoken'));
+ array('action' => 'ApiOauthRequestToken'));
$m->connect('api/oauth/access_token',
- array('action' => 'apioauthaccesstoken'));
+ array('action' => 'ApiOauthAccessToken'));
$m->connect('api/oauth/authorize',
- array('action' => 'apioauthauthorize'));
+ array('action' => 'ApiOauthAuthorize'));
// Admin