Avoid full page reloads on report#show

This commit is contained in:
david 2024-07-20 22:32:35 +02:00
parent 916b370905
commit c44c9ccaba
7 changed files with 19 additions and 8 deletions

View file

@ -0,0 +1,2 @@
<%= turbo_stream.update "new_element_frame", partial: "reports/new_element_button", locals: { report: @element.report } %>
<%= turbo_stream.append "element_list", @element %>