diff --git a/app/controllers/collections/entropies_controller.rb b/app/controllers/collections/entropies_controller.rb index bb0d2940a..d9ed904f8 100644 --- a/app/controllers/collections/entropies_controller.rb +++ b/app/controllers/collections/entropies_controller.rb @@ -5,7 +5,7 @@ class Collections::EntropiesController < ApplicationController @collection.entropy.update!(entropy_params) render turbo_stream: [ - turbo_stream.replace([ @collection, :entropy], partial: "collections/edit/auto_close", locals: { collection: @collection }), + turbo_stream.replace([ @collection, :entropy ], partial: "collections/edit/auto_close", locals: { collection: @collection }), turbo_stream_flash(notice: "Saved") ] end