瀏覽代碼

Merge branch 'develop' of https://gitea.laclic.fr/Laclic/CaracoleSkeleton into develop

feature/ticket
Fab 3 年之前
父節點
當前提交
1ec461102a
共有 2 個文件被更改,包括 6 次插入1 次删除
  1. +1
    -1
      config/packages/lc_sov.yaml
  2. +5
    -0
      src/Entity/Site/Page.php

+ 1
- 1
config/packages/lc_sov.yaml 查看文件

@@ -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 查看文件

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

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

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

Loading…
取消
儲存