diff options
author | Evan Prodromou <evan@status.net> | 2009-11-11 00:22:29 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-11-11 00:22:29 -0500 |
commit | 093857c582a68b39e0d65523d27f25ede7b7fed6 (patch) | |
tree | f72edea0266ca3c74374a2fb82bfe74220de377f /lib/router.php | |
parent | 1455d60b06df11f7b765040a4195ded288711ae0 (diff) | |
parent | db64b612961c37477d0729e9ff4f882fb5df7b8d (diff) |
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
Diffstat (limited to 'lib/router.php')
-rw-r--r-- | lib/router.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php index db9fdb470..bad3decad 100644 --- a/lib/router.php +++ b/lib/router.php @@ -428,9 +428,21 @@ class Router $m->connect('api/account/verify_credentials.:format', array('action' => 'ApiAccountVerifyCredentials')); + $m->connect('api/account/update_profile.:format', + array('action' => 'ApiAccountUpdateProfile')); + $m->connect('api/account/update_profile_image.:format', array('action' => 'ApiAccountUpdateProfileImage')); + $m->connect('api/account/update_profile_background_image.:format', + array('action' => 'ApiAccountUpdateProfileBackgroundImage')); + + $m->connect('api/account/update_profile_colors.:format', + array('action' => 'ApiAccountUpdateProfileColors')); + + $m->connect('api/account/update_delivery_device.:format', + array('action' => 'ApiAccountUpdateDeliveryDevice')); + // special case where verify_credentials is called w/out a format $m->connect('api/account/verify_credentials', |