summaryrefslogtreecommitdiff
path: root/lib/router.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/router.php')
-rw-r--r--lib/router.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php
index b8a9db223..9cd28a394 100644
--- a/lib/router.php
+++ b/lib/router.php
@@ -524,6 +524,11 @@ class Router
'id' => Nickname::INPUT_FMT,
'format' => '(xml|json)'));
+ $m->connect('api/users/profile_image/:screen_name.:format',
+ array('action' => 'ApiUserProfileImage',
+ 'screen_name' => Nickname::DISPLAY_FMT,
+ 'format' => '(xml|json)'));
+
// direct messages
$m->connect('api/direct_messages.:format',