Skip to content

Commit

Permalink
Merge pull request #3079 from consul/pages-texts
Browse files Browse the repository at this point in the history
[Backport] Removes references to deleted general terms page
  • Loading branch information
decabeza committed Dec 4, 2018
2 parents 6fbd516 + 04e3bf5 commit 7390ebc
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion config/locales/es/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ es:
title: Condiciones de uso
subtitle: AVISO LEGAL SOBRE LAS CONDICIONES DE USO, PRIVACIDAD Y PROTECCIÓN DE DATOS PERSONALES DEL PORTAL DE GOBIERNO ABIERTO
description: Página de información sobre las condiciones de uso, privacidad y protección de datos personales.
general_terms: Términos y Condiciones
help:
title: "%{org} es una plataforma de participación ciudadana"
guide: "Esta guía explica para qué sirven y cómo funcionan cada una de las secciones de %{org}."
Expand Down
5 changes: 0 additions & 5 deletions config/sitemap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ def gzip(stream, data); stream.write(data); stream.close end

# sitemap generator
SitemapGenerator::Sitemap.create do
pages = ["general_terms"]
pages.each do |page|
add page_path(id: page)
end

add help_path
add how_to_use_path
add faq_path
Expand Down
1 change: 0 additions & 1 deletion spec/lib/tasks/sitemap_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
expect(sitemap).to include(faq_path)
expect(sitemap).to include(help_path)
expect(sitemap).to include(how_to_use_path)
expect(sitemap).to include(page_path(id: 'general_terms'))

# Dynamic URLs
expect(sitemap).to include(polls_path)
Expand Down

0 comments on commit 7390ebc

Please sign in to comment.