Deleted unnecessary comments

This commit is contained in:
Kevin Frantz 2019-02-26 14:38:30 +01:00
parent 3b8fcf5a71
commit 4485091813

View File

@ -6,7 +6,6 @@ use Symfony\Component\Routing\Annotation\Route;
use Symfony\Component\HttpFoundation\Response;
use Infinito\Domain\FixtureManagement\FixtureSource\HomepageFixtureSource;
use Infinito\DBAL\Types\Meta\Right\LayerType;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Infinito\DBAL\Types\RESTResponseType;
/**
@ -21,12 +20,6 @@ final class DefaultController extends AbstractController
*/
public function homepage(): Response
{
// echo "Hello World!";
// $url = $this->generateUrl('infinito_api_rest_layer_read', [
// 'identity' => HomepageFixtureSource::SLUG,
// 'layer' => LayerType::SOURCE
// ]);
// return new RedirectResponse($url);
return $this->redirectToRoute('infinito_api_rest_layer_read', [
'identity' => HomepageFixtureSource::SLUG,
'layer' => LayerType::SOURCE,