array('action' => 'attachment'),
array('attachment' => '[0-9]+'));
+ $m->connect('attachment/:attachment/download',
+ array('action' => 'attachment_download'),
+ array('attachment' => '[0-9]+'));
+
$m->connect('attachment/:attachment/thumbnail',
array('action' => 'attachment_thumbnail'),
array('attachment' => '[0-9]+'));
array('action' => 'userbyid'),
array('id' => '[0-9]+'));
- if (!common_config('performance', 'high')) {
- $m->connect('tags/', array('action' => 'publictagcloud'));
- $m->connect('tag/', array('action' => 'publictagcloud'));
- $m->connect('tags', array('action' => 'publictagcloud'));
- $m->connect('tag', array('action' => 'publictagcloud'));
- }
$m->connect('tag/:tag/rss',
array('action' => 'tagrss'),
array('tag' => self::REGEX_TAG));
$m->connect('api/statuses/update.:format',
array('action' => 'ApiStatusesUpdate',
- 'format' => '(xml|json)'));
+ 'format' => '(xml|json|atom)'));
$m->connect('api/statuses/destroy/:id.:format',
array('action' => 'ApiStatusesDestroy',
foreach (array('subscriptions', 'subscribers',
'nudge', 'all', 'foaf', 'replies',
- 'inbox', 'outbox', 'microsummary') as $a) {
+ 'inbox', 'outbox') as $a) {
$m->connect(':nickname/'.$a,
array('action' => $a),
array('nickname' => Nickname::DISPLAY_FMT));