Class: Refinery::SitemapController
- Inherits:
-
FastController
- Object
- ActionController::Base
- FastController
- Refinery::SitemapController
- Defined in:
- app/controllers/refinery/sitemap_controller.rb
Instance Method Summary collapse
Methods inherited from FastController
Instance Method Details
#index ⇒ Object
5 6 7 8 9 10 11 12 13 |
# File '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 |