Skip to content

Commit

Permalink
Remove unused turbo-frame
Browse files Browse the repository at this point in the history
This was working before because we hadn't been requiring `turbo-rails`
in the engine, but now that we require it, it results in a "Content
missing" error as the response from Sessions#show doesn't include a
matching turbo-frame ID.
  • Loading branch information
rosa committed Nov 13, 2024
1 parent a231835 commit b1852f5
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions app/views/audits1984/sessions/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
<%= render "audits1984/sessions/filter", filtered_sessions: @filtered_sessions %>
<%= render "audits1984/sessions/summary", sessions: @sessions %>

<turbo-frame id="sessions">
<div class="sessions">
<%= render partial: "audits1984/sessions/session", collection: @sessions, cached: true %>
</div>
</turbo-frame>
<div class="sessions">
<%= render partial: "audits1984/sessions/session", collection: @sessions, cached: true %>
</div>

0 comments on commit b1852f5

Please sign in to comment.