From 157ff1601e88270429ecedd263c0b5ad7324fcbd Mon Sep 17 00:00:00 2001 From: Shane Becker Date: Mon, 16 Dec 2024 16:58:22 -0800 Subject: [PATCH] Remove duplication /tce URL --- app/views/sitemap/show.text.erb | 2 -- app/views/sitemap/show.xml.erb | 2 -- 2 files changed, 4 deletions(-) diff --git a/app/views/sitemap/show.text.erb b/app/views/sitemap/show.text.erb index 96fec02f3..a0e8da4dd 100644 --- a/app/views/sitemap/show.text.erb +++ b/app/views/sitemap/show.text.erb @@ -42,8 +42,6 @@ <% end %> <%# %> <%# To Change Everything (TCE) %> -<%= to_change_everything_url %> -<%# %> <% @to_change_everything_languages.each do |tce_language| %> <%= to_change_everything_url(lang: tce_language) %> <%= [to_change_everything_url(lang: tce_language), '/get'].join %> diff --git a/app/views/sitemap/show.xml.erb b/app/views/sitemap/show.xml.erb index 9c68edce5..166686e18 100644 --- a/app/views/sitemap/show.xml.erb +++ b/app/views/sitemap/show.xml.erb @@ -54,8 +54,6 @@ <% end %> <%# To Change Everything (TCE) %> - <%= render 'sitemap/url', loc: to_change_everything_url, lastmod: @last_modified %> - <% @to_change_everything_languages.each do |tce_language| %> <%= render 'sitemap/url', loc: to_change_everything_url(lang: tce_language), lastmod: @last_modified %> <%= render 'sitemap/url', loc: [to_change_everything_url(lang: tce_language), '/get'].join, lastmod: @last_modified %>