app/controllers/landable/public/sitemap_controller.rb in landable-1.13.1 vs app/controllers/landable/public/sitemap_controller.rb in landable-1.13.2
- old
+ new
@@ -1,15 +1,15 @@
-require_dependency "landable/application_controller"
+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,
+ sitemap_additional_paths: Landable.configuration.sitemap_additional_paths
)
render xml: sitemap
end
end