Sha256: c40a1ef45c62c4dee0b9784bd94109a8aa1b3855cb5329e73698f750c74998c9

Contents?: true

Size: 299 Bytes

Versions: 17

Compression:

Stored size: 299 Bytes

Contents

module ::Refinery
  class SitemapController < ::Refinery::FastController
    layout nil

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

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

  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
refinerycms-core-4.0.3 app/controllers/refinery/sitemap_controller.rb
refinerycms-core-4.0.2 app/controllers/refinery/sitemap_controller.rb
refinerycms-core-4.0.1 app/controllers/refinery/sitemap_controller.rb
refinerycms-core-3.0.6 app/controllers/refinery/sitemap_controller.rb
refinerycms-core-4.0.0 app/controllers/refinery/sitemap_controller.rb
refinerycms-core-3.0.5 app/controllers/refinery/sitemap_controller.rb
refinerycms-core-3.0.4 app/controllers/refinery/sitemap_controller.rb
refinerycms-core-3.0.3 app/controllers/refinery/sitemap_controller.rb
refinerycms-core-3.0.2 app/controllers/refinery/sitemap_controller.rb
refinerycms-core-3.0.1 app/controllers/refinery/sitemap_controller.rb
refinerycms-core-3.0.0 app/controllers/refinery/sitemap_controller.rb
refinerycms-core-2.1.5 app/controllers/refinery/sitemap_controller.rb
refinerycms-core-2.1.4 app/controllers/refinery/sitemap_controller.rb
refinerycms-core-2.1.3 app/controllers/refinery/sitemap_controller.rb
refinerycms-core-2.1.2 app/controllers/refinery/sitemap_controller.rb
refinerycms-core-2.1.1 app/controllers/refinery/sitemap_controller.rb
refinerycms-core-2.1.0 app/controllers/refinery/sitemap_controller.rb