diff options
author | Evan Prodromou <evan@status.net> | 2009-10-31 14:43:01 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2009-10-31 14:43:01 -0400 |
commit | 521bd68d7cafba2d534b22105133138d727e9119 (patch) | |
tree | 16cbb5f5a0f10b0da08108edbd0a9d9df83c4461 | |
parent | 4e9ec0d0e1aeb43b432f4692b4819beb9408ad3b (diff) |
revert revert on getfile
-rw-r--r-- | lib/router.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/router.php b/lib/router.php index 2fd255fe6..3223b0a26 100644 --- a/lib/router.php +++ b/lib/router.php @@ -577,6 +577,10 @@ class Router $m->connect('api/search.json', array('action' => 'twitapisearchjson')); $m->connect('api/trends.json', array('action' => 'twitapitrends')); + $m->connect('getfile/:filename', + array('action' => 'getfile'), + array('filename' => '[A-Za-z0-9._-]+')); + // user stuff foreach (array('subscriptions', 'subscribers', |