Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport] Removes references to deleted general terms page #3079

Merged
merged 1 commit into from
Dec 4, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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