Changed where the result.add route redirects to; added some more links around the site for easier navigation
This commit is contained in:
@ -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