Sfoglia il codice sorgente

Correctifs divers

feature/ticket
Guillaume 3 anni fa
parent
commit
214e3bf002
2 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  1. +1
    -1
      config/packages/lc_sov.yaml
  2. +5
    -0
      src/Entity/Site/Page.php

+ 1
- 1
config/packages/lc_sov.yaml Vedi File

@@ -1,3 +1,3 @@
# see https://symfony.com/doc/current/reference/configuration/framework.html
lc_sov:
homepage_route: 'home'
homepage_route: 'app_homepage'

+ 5
- 0
src/Entity/Site/Page.php Vedi File

@@ -37,6 +37,11 @@ class Page extends AbstractFullEntity
$this->gallery = new ArrayCollection();
}

public function __toString()
{
return $this->getTitle() ;
}

public function getId(): ?int
{
return $this->id;

Loading…
Annulla
Salva