Sha256: 5ee99a3b19eb2ef2d1eea26c6b2375cfbc84fc07e1d4717777c3220787300661
Contents?: true
Size: 567 Bytes
Versions: 2
Compression:
Stored size: 567 Bytes
Contents
require_dependency 'landable/application_controller' module Landable module Public class SitemapController < ApplicationController def index sitemap = Landable::Page.generate_sitemap( host: Landable.configuration.sitemap_host || request.host, protocol: Landable.configuration.sitemap_protocol, exclude_categories: Landable.configuration.sitemap_exclude_categories, sitemap_additional_paths: Landable.configuration.sitemap_additional_paths ) render xml: sitemap end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
landable-1.14.0 | app/controllers/landable/public/sitemap_controller.rb |
landable-1.13.2 | app/controllers/landable/public/sitemap_controller.rb |