Send proper http response code

This commit is contained in:
Björn Fromme
2018-12-02 14:18:28 +01:00
parent c6ae64f920
commit 3c768741c6
@@ -68,7 +68,7 @@ class TeamController extends ActionController
public function showAction(Teammember $member = null) public function showAction(Teammember $member = null)
{ {
if ($member === null) { if ($member === null) {
$this->redirect('list'); $this->redirect('list', null, null, null, null, 0, 302);
} }
$this->view->assign('member', $member); $this->view->assign('member', $member);