mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2024-12-04 23:17:19 +01: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 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,
|
||||
|
Loading…
Reference in New Issue
Block a user