Skip to content

Commit 079acf6

Browse files
committed
minor #1100 Update index.rst (andersmateusz)
This PR was merged into the 2.x branch. Discussion ---------- Update index.rst No escape chars in code sample | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Tickets | - | License | MIT Missing escape chars in code sample Commits ------- 80347d8 Update index.rst
2 parents 4ba338a + 80347d8 commit 079acf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Turbo/doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,7 +804,7 @@ to ``turbo_stream_listen()``:
804804

805805
.. code-block:: html+twig
806806

807-
<div id="messages" {{ turbo_stream_listen('App\Entity\Book', 'hub2') }}></div>
807+
<div id="messages" {{ turbo_stream_listen('App\\Entity\\Book', 'hub2') }}></div>
808808

809809
Registering a Custom Transport
810810
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)