Sha256: 53d69cf2c55c940c791577e1a613c11b81434c03f84f02061d46fa2599c76a55
Contents?: true
Size: 373 Bytes
Versions: 23
Compression:
Stored size: 373 Bytes
Contents
# Renders a search engine optimized sitemap.xml # Enable via <tt>RailsConnector::Configuration.enable(:seo_sitemap)</tt> class SeoSitemapController < ApplicationController layout nil # Finds all objects which are to be shown in the SEO sitemap. Responds to xml only. def show @objects = Obj.find_all_for_sitemap respond_to { |format| format.xml } end end
Version data entries
23 entries across 23 versions & 1 rubygems