rosa-build/app/controllers/sitemap_controller.rb

9 lines
187 B
Ruby
Raw Normal View History

2014-03-28 22:14:37 +00:00
class SitemapController < ApplicationController
2015-04-07 20:43:40 +01:00
skip_after_action :verify_authorized
2014-03-28 22:14:37 +00:00
def robots
render file: 'sitemap/robots', layout: false, content_type: Mime::TEXT
end
2015-04-07 20:43:40 +01:00
end