Skip to content

Commit

Permalink
Add turbo_stream_from back to the obs show page!
Browse files Browse the repository at this point in the history
  • Loading branch information
nimmolo committed May 22, 2024
1 parent 1aa7cad commit 8e34d25
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/views/controllers/observations/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ carousel_locals = {

<div class="row">
<div class="col-xs-12 col-md-8 col-lg-7 float-sm-left">
<%= turbo_stream_from(@observation, :images) %>
<%= tag.div(class: "panel panel-default") do
render(partial: "shared/carousel", locals: carousel_locals)
end %>
Expand Down

0 comments on commit 8e34d25

Please sign in to comment.