mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-04-16 10:16:22 +02:00
Deleted unnecessary comments
This commit is contained in:
parent
3b8fcf5a71
commit
4485091813
@ -6,7 +6,6 @@ use Symfony\Component\Routing\Annotation\Route;
|
|||||||
use Symfony\Component\HttpFoundation\Response;
|
use Symfony\Component\HttpFoundation\Response;
|
||||||
use Infinito\Domain\FixtureManagement\FixtureSource\HomepageFixtureSource;
|
use Infinito\Domain\FixtureManagement\FixtureSource\HomepageFixtureSource;
|
||||||
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
use Infinito\DBAL\Types\Meta\Right\LayerType;
|
||||||
use Symfony\Component\HttpFoundation\RedirectResponse;
|
|
||||||
use Infinito\DBAL\Types\RESTResponseType;
|
use Infinito\DBAL\Types\RESTResponseType;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -21,12 +20,6 @@ final class DefaultController extends AbstractController
|
|||||||
*/
|
*/
|
||||||
public function homepage(): Response
|
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', [
|
return $this->redirectToRoute('infinito_api_rest_layer_read', [
|
||||||
'identity' => HomepageFixtureSource::SLUG,
|
'identity' => HomepageFixtureSource::SLUG,
|
||||||
'layer' => LayerType::SOURCE,
|
'layer' => LayerType::SOURCE,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user