Skip to content
Snippets Groups Projects
Commit 12fa918d authored by Moreau Elise's avatar Moreau Elise
Browse files

fix group redirection

parent e67e7608
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ class GroupMessagesListAction extends MessageAction ...@@ -19,7 +19,7 @@ class GroupMessagesListAction extends MessageAction
if (!isset($_SESSION['userId']) || !$group->hasUser($_SESSION['userId'])){ if (!isset($_SESSION['userId']) || !$group->hasUser($_SESSION['userId'])){
return $this->response return $this->response
->withHeader('Location', '/groups/') ->withHeader('Location', '/groups')
->withStatus(302); ->withStatus(302);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment