showstream for singleuser instance too

singleuser instances shouldn't be too special and have too many
alternative methods of doing stuff.
This commit is contained in:
Mikael Nordfeldth 2015-02-03 22:33:01 +01:00
parent 6b638b8e13
commit 6a4cb43f67

View File

@ -1066,16 +1066,16 @@ class Router
$m->connect(':nickname/rsd.xml', $m->connect(':nickname/rsd.xml',
array('action' => 'rsd'), array('action' => 'rsd'),
array('nickname' => Nickname::DISPLAY_FMT)); array('nickname' => Nickname::DISPLAY_FMT));
$m->connect(':nickname',
array('action' => 'showstream'),
array('nickname' => Nickname::DISPLAY_FMT));
$m->connect(':nickname/',
array('action' => 'showstream'),
array('nickname' => Nickname::DISPLAY_FMT));
} }
$m->connect(':nickname',
array('action' => 'showstream'),
array('nickname' => Nickname::DISPLAY_FMT));
$m->connect(':nickname/',
array('action' => 'showstream'),
array('nickname' => Nickname::DISPLAY_FMT));
// AtomPub API // AtomPub API
$m->connect('api/statusnet/app/service/:id.xml', $m->connect('api/statusnet/app/service/:id.xml',