This commit is contained in:
@@ -9,7 +9,6 @@ use Slim\Views\Twig;
|
||||
use BitGoblin\Colossus\Models\Benchmark;
|
||||
|
||||
class BenchmarkController extends Controller {
|
||||
|
||||
public function getIndex(Request $request, Response $response): Response {
|
||||
// redirect the user back to the home page
|
||||
$routeContext = RouteContext::fromRequest($request);
|
||||
@@ -87,5 +86,4 @@ class BenchmarkController extends Controller {
|
||||
->withHeader('Location', $routeParser->urlFor('benchmark.view', ['benchmark_id' => $benchmark->id]))
|
||||
->withStatus(302);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user