Commit fb406a81 authored by Evan Prodromou's avatar Evan Prodromou

allow / at end of group, user page

parent 9dfa4064
......@@ -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
......
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