Class: MinimumViableProduct::SeoController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- MinimumViableProduct::SeoController
- Defined in:
- app/controllers/minimum_viable_product/seo_controller.rb
Instance Method Summary collapse
Instance Method Details
#robots ⇒ Object
3 4 5 6 7 8 9 |
# File 'app/controllers/minimum_viable_product/seo_controller.rb', line 3 def robots render text: %% User-agent: * Disallow: Sitemap: #{MVP::Engine.routes.url_helpers.sitemap_url} %, content_type: "text/plain" end |