Changed where the result.add route redirects to; added some more links around the site for easier navigation
This commit is contained in:
1 parent
ca62be49b6
commit
005b31dbd7
4 files changed
+24
-12
No files matched your search
@@ -47,7 +47,9 @@ class ResultController extends Controller {
|
||||
$routeContext = RouteContext::fromRequest($request);
|
||||
$routeParser = $routeContext->getRouteParser();
|
||||
return $response
|
||||
->withHeader('Location', $routeParser->urlFor('result.list'))
|
||||
->withHeader('Location', $routeParser->urlFor('test.view', [
|
||||
'test_id' => $result->test_id
|
||||
]))
|
||||
->withStatus(302);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user