Class: Refinery::SitemapController

Inherits:
FastController
  • Object
show all
Defined in:
core/app/controllers/refinery/sitemap_controller.rb

Instance Method Summary collapse

Methods inherited from FastController

#message

Instance Method Details

#indexObject


5
6
7
8
9
10
11
12
13
# File 'core/app/controllers/refinery/sitemap_controller.rb', line 5

def index
  headers['Content-Type'] = 'application/xml'

  respond_to do |format|
    format.xml do
      @locales = Refinery::I18n.frontend_locales
    end
  end
end