Skip to content

[Turbo] Add mercure() to turbo_stream_listen() #1860

Open
@seb-jean

Description

Hi,

For generate the URL of the Hub and for automatically set the cookie required to use the authorization mechanism, we need Twig helper mercure() (PR: symfony/mercure#62)

But how to use it with turbo_stream_listen()?

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions