forked from GNUsocial/gnu-social
allow / at end of group, user page
This commit is contained in:
parent
9dfa406493
commit
fb406a81e2
@ -334,6 +334,10 @@ class Router
|
||||
array('action' => 'showgroup'),
|
||||
array('nickname' => Nickname::DISPLAY_FMT));
|
||||
|
||||
$m->connect('group/:nickname/',
|
||||
array('action' => 'showgroup'),
|
||||
array('nickname' => Nickname::DISPLAY_FMT));
|
||||
|
||||
$m->connect('group/', array('action' => 'groups'));
|
||||
$m->connect('group', array('action' => 'groups'));
|
||||
$m->connect('groups/', array('action' => 'groups'));
|
||||
@ -1068,6 +1072,10 @@ class Router
|
||||
$m->connect(':nickname',
|
||||
array('action' => 'showstream'),
|
||||
array('nickname' => Nickname::DISPLAY_FMT));
|
||||
|
||||
$m->connect(':nickname/',
|
||||
array('action' => 'showstream'),
|
||||
array('nickname' => Nickname::DISPLAY_FMT));
|
||||
}
|
||||
|
||||
// AtomPub API
|
||||
|
Loading…
Reference in New Issue
Block a user