Sha256: bc1a769292516838f4871667affc42171d7d3044b0d0c3de78cf972326d48021
Contents?: true
Size: 359 Bytes
Versions: 6
Compression:
Stored size: 359 Bytes
Contents
xml.instruct! xml.urlset :xmlns => "http://www.sitemaps.org/schemas/sitemap/0.9" do store.entries.each do |entry| xml.url do xml.loc polymorphic_url(entry[:object], entry[:params]) entry[:search].each do |type, value| next if !value || value.blank? xml.tag! SEARCH_ATTRIBUTES[type], value.to_s end end end end
Version data entries
6 entries across 6 versions & 1 rubygems