diff --git a/app/controllers/inbox_controller.rb b/app/controllers/inbox_controller.rb index 4b21210a..af510e2b 100644 --- a/app/controllers/inbox_controller.rb +++ b/app/controllers/inbox_controller.rb @@ -49,7 +49,7 @@ class InboxController < ApplicationController @disabled = true if @inbox.empty? respond_to do |format| format.html - format.turbo_stream + format.turbo_stream { render "show", layout: false, status: :see_other } end end end diff --git a/app/controllers/moderation/inbox_controller.rb b/app/controllers/moderation/inbox_controller.rb index deca65d0..5cbb8a80 100644 --- a/app/controllers/moderation/inbox_controller.rb +++ b/app/controllers/moderation/inbox_controller.rb @@ -12,7 +12,7 @@ class Moderation::InboxController < ApplicationController respond_to do |format| format.html - format.turbo_stream + format.turbo_stream { render "index", layout: false, status: :see_other } end end end diff --git a/app/controllers/moderation/reports_controller.rb b/app/controllers/moderation/reports_controller.rb index a3b128a1..a52977b2 100644 --- a/app/controllers/moderation/reports_controller.rb +++ b/app/controllers/moderation/reports_controller.rb @@ -11,7 +11,7 @@ class Moderation::ReportsController < ApplicationController respond_to do |format| format.html - format.turbo_stream + format.turbo_stream { render "index", layout: false, status: :see_other } end end