The Great SEO Revamp of 2019 #59

Closed
tadhgboyle wants to merge 18 commits from master into master
Showing only changes of commit e98f95adc1 - Show all commits

View File

@@ -0,0 +1,16 @@
class SitemapsController < ApplicationController
layout :false
before_action :init_sitemap
def index
@forums = Forum.all
end
private
def init_sitemap
headers['Content-Type'] = 'application/xml'
end
end