summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2009-11-04 21:00:26 -0800
committerZach Copley <zach@status.net>2009-11-04 21:00:26 -0800
commit527427d3e0752a371b1b6421dabec5cc1c7e19ad (patch)
treeb93f82742b41a7de053151a26957388b2eb5dd37 /lib/router.php
parenteb42ad5635c65dd7c25ea57bd5b6e56114054ae0 (diff)
Implement update avatar via API (/api/account/update_profile_image.format)
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index 0ddda473c..eb931e5b0 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -428,6 +428,9 @@ class Router
$m->connect('api/account/verify_credentials.:format',
array('action' => 'ApiAccountVerifyCredentials'));
+ $m->connect('api/account/update_profile_image.:format',
+ array('action' => 'ApiAccountUpdateProfileImage'));
+
// special case where verify_credentials is called w/out a format
$m->connect('api/account/verify_credentials',