Last active
August 9, 2022 08:30
-
-
Save SofiaSousa/7aa64fcba375ce6cff1f5f0efc8786f3 to your computer and use it in GitHub Desktop.
destroy.turbo_stream.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%= turbo_stream.remove "item_1" %> | |
<%= turbo_stream.update "stats" do %> | |
<%= render "items/stats" %> | |
<% end %> | |
<%= turbo_stream.update "flash", partial: "layouts/flash" %> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment