Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
treagod committed Apr 8, 2024
1 parent 4221439 commit 4733279
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Identifier will respect your namespace of the model. I.e. if you have an Article
Marten Turbo also provides a turbo stream tag helper

```html
{% turbo_stream.append "articles" do %}
{% turbo_stream 'append' "articles" do %}
<div class="{% dom_id article %}">
{{ article.name }}
</div>
Expand All @@ -68,7 +68,7 @@ Marten Turbo also provides a turbo stream tag helper
-->
<!-- or in one line -->
{% turbo_stream.append "articles" template: "articles/article.html" %}
{% turbo_stream 'append' "articles" template: "articles/article.html" %}
<!--
<turbo-stream action="append" target="articles">
<template>
Expand All @@ -78,7 +78,7 @@ Marten Turbo also provides a turbo stream tag helper
-->
<!-- dom_id is automatically applied if targeting a record -->
{% turbo_stream.remove article %}
{% turbo_stream 'remove' article %}
<!--
<turbo-stream action="remove" target="article_1">
</turbo-stream>
Expand Down

0 comments on commit 4733279

Please sign in to comment.