We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 64f1558 + ecfa0ce commit ff252adCopy full SHA for ff252ad
config/sitemap.rb
@@ -52,11 +52,11 @@
52
# CMS Routes
53
add "/privacy", changefreq: "monthly"
54
55
- Cms::Collections::EnrichmentPage.all(1, 10).resources.each do |enrichment_page|
+ Cms::Collections::EnrichmentPage.all_records.each do |enrichment_page|
56
add cms_page_path(enrichment_page.slug), changefreq: "monthly", lastmod: enrichment_page.updated_at
57
end
58
59
- Cms::Collections::WebPage.all(1, 200).resources.each do |page|
+ Cms::Collections::WebPage.all_records.each do |page|
60
add cms_page_path(page.slug), changefreq: "monthly", lastmod: page.updated_at
61
62
0 commit comments