git.gnu.io has moved to IP address 209.51.188.249 -- please double check where you are logging in.

Commit 521bd68d authored by Evan Prodromou's avatar Evan Prodromou

revert revert on getfile

parent 4e9ec0d0
...@@ -577,6 +577,10 @@ class Router ...@@ -577,6 +577,10 @@ class Router
$m->connect('api/search.json', array('action' => 'twitapisearchjson')); $m->connect('api/search.json', array('action' => 'twitapisearchjson'));
$m->connect('api/trends.json', array('action' => 'twitapitrends')); $m->connect('api/trends.json', array('action' => 'twitapitrends'));
$m->connect('getfile/:filename',
array('action' => 'getfile'),
array('filename' => '[A-Za-z0-9._-]+'));
// user stuff // user stuff
foreach (array('subscriptions', 'subscribers', foreach (array('subscriptions', 'subscribers',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment