Sha256: f9c97f36d42f9aa02ccff930e6bcf471579c3a6f1d139adc122dab7143f3d06e
Contents?: true
Size: 390 Bytes
Versions: 10
Compression:
Stored size: 390 Bytes
Contents
class SitemapController < ::Refinery::FastController layout nil def index headers['Content-Type'] = 'application/xml' respond_to do |format| format.xml do @locales = if ::Refinery.i18n_enabled? ::Refinery::I18n.frontend_locales else [::I18n.locale] end end end end end
Version data entries
10 entries across 10 versions & 1 rubygems