Bad route config (thanks brw12)

ben wheeler submitted this bug report with a patch for StatusNet.
This commit is contained in:
Mikael Nordfeldth 2014-03-01 12:01:21 +01:00
parent fc047bd6e6
commit bc554ea9c2
1 changed files with 1 additions and 1 deletions

View File

@ -712,11 +712,11 @@ class Router
$m->connect('api/statusnet/groups/join/:id.:format',
array('action' => 'ApiGroupJoin',
'id' => Nickname::INPUT_FMT,
'format' => '(xml|json)'));
$m->connect('api/statusnet/groups/join.:format',
array('action' => 'ApiGroupJoin',
'id' => Nickname::INPUT_FMT,
'format' => '(xml|json)'));
$m->connect('api/statusnet/groups/leave/:id.:format',