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