Sha256: 22b631df556ea348b1580e1eedee7cab1b3cfab68aed5b9ac611108c02638281
Contents?: true
Size: 568 Bytes
Versions: 16
Compression:
Stored size: 568 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
16 entries across 16 versions & 1 rubygems