Sha256: 99bea1f88446a3439d8d522ef61e8fe7f3f012abc31627e31ffd88ba709f896b

Contents?: true

Size: 440 Bytes

Versions: 76

Compression:

Stored size: 440 Bytes

Contents

# frozen_string_literal: true

require 'sitemap_generator'

# TODO: Update the default host to match your deployment environment
SitemapGenerator::Sitemap.default_host = 'http://localhost/'

SitemapGenerator::Interpreter.send :include, Rails.application.routes.url_helpers
SitemapGenerator::Interpreter.send :include, Spotlight::Engine.routes.url_helpers

SitemapGenerator::Sitemap.create do
  Spotlight::Sitemap.add_all_exhibits(self)
end

Version data entries

76 entries across 76 versions & 1 rubygems

Version Path
blacklight-spotlight-4.3.6 lib/generators/spotlight/templates/config/sitemap.rb
blacklight-spotlight-4.3.5 lib/generators/spotlight/templates/config/sitemap.rb
blacklight-spotlight-4.3.4 lib/generators/spotlight/templates/config/sitemap.rb
blacklight-spotlight-4.3.3 lib/generators/spotlight/templates/config/sitemap.rb
blacklight-spotlight-4.3.2 lib/generators/spotlight/templates/config/sitemap.rb
blacklight-spotlight-4.3.1 lib/generators/spotlight/templates/config/sitemap.rb
blacklight-spotlight-4.3.0 lib/generators/spotlight/templates/config/sitemap.rb
blacklight-spotlight-4.2.0 lib/generators/spotlight/templates/config/sitemap.rb
blacklight-spotlight-4.1.2 lib/generators/spotlight/templates/config/sitemap.rb
blacklight-spotlight-4.1.1 lib/generators/spotlight/templates/config/sitemap.rb
blacklight-spotlight-4.1.0 lib/generators/spotlight/templates/config/sitemap.rb
blacklight-spotlight-4.0.3 lib/generators/spotlight/templates/config/sitemap.rb
blacklight-spotlight-4.0.2 lib/generators/spotlight/templates/config/sitemap.rb
blacklight-spotlight-4.0.1 lib/generators/spotlight/templates/config/sitemap.rb
blacklight-spotlight-4.0.0 lib/generators/spotlight/templates/config/sitemap.rb
blacklight-spotlight-3.6.0.beta10 lib/generators/spotlight/templates/config/sitemap.rb
blacklight-spotlight-3.6.0.beta9 lib/generators/spotlight/templates/config/sitemap.rb
blacklight-spotlight-3.6.0.beta8 lib/generators/spotlight/templates/config/sitemap.rb
blacklight-spotlight-3.5.0.4 lib/generators/spotlight/templates/config/sitemap.rb
blacklight-spotlight-3.6.0.beta7 lib/generators/spotlight/templates/config/sitemap.rb