From f496f5f85fed2e97713cc4a142b74da7836586cd Mon Sep 17 00:00:00 2001 From: Adrien POLY Date: Sun, 22 Oct 2023 23:10:39 +0200 Subject: [PATCH] force content type --- app/controllers/sitemaps_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/sitemaps_controller.rb b/app/controllers/sitemaps_controller.rb index 78c24569b..c10a7e4fb 100644 --- a/app/controllers/sitemaps_controller.rb +++ b/app/controllers/sitemaps_controller.rb @@ -1,6 +1,6 @@ class SitemapsController < ApplicationController def show - render xml: generate_sitemap_string + render xml: generate_sitemap_string, content_type: "application/xml" end private