Skip to content

Commit

Permalink
force content type
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienpoly committed Oct 22, 2023
1 parent 3034318 commit f496f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/sitemaps_controller.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit f496f5f

Please sign in to comment.