Skip to content

Commit

Permalink
skip authentification for sitemap controller
Browse files Browse the repository at this point in the history
  • Loading branch information
adrienpoly committed Oct 23, 2023
1 parent f496f5f commit 38a7b1b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/controllers/sitemaps_controller.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
class SitemapsController < ApplicationController
skip_before_action :authenticate_user!

def show
render xml: generate_sitemap_string, content_type: "application/xml"
end
Expand Down

0 comments on commit 38a7b1b

Please sign in to comment.