jolicode / seo-override

:checkered_flag: Override your SEO related markup on the fly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow to merge Seo values from Controller

damienalexandre opened this issue · comments

At the moment, this works:

    public function showAction($slug, SeoManager $seoManager): Response
    {
        $seoManager->getSeo()->setTitle('coucou');

        return $this->render('page/show.html.twig');
    }

But only because the Seo object reference is kept, not because it's supported.

If the "mergeSeo" method was public I could swap the default Seo values easily.