Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore block rendering and partial rendering syntax for streams #13

Open
marcoroth opened this issue Dec 28, 2022 · 0 comments · May be fixed by #18
Open

Restore block rendering and partial rendering syntax for streams #13

marcoroth opened this issue Dec 28, 2022 · 0 comments · May be fixed by #18

Comments

@marcoroth
Copy link
Owner

Pull Request #12 removed the ability to use the block rendering and partial rendering syntax for Turbo Streams actions.

We should restore this functionality:

<%= turbo_stream.inner_html "body" do %>
  New Body
<% end %>

and

<%= turbo_stream.inner_html "#post_1", partial: "posts/post", locals: { post: @post } %>
@marcoroth marcoroth linked a pull request Jan 8, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant