From 5723c4c894beb462d39a4e83924884c39bc90711 Mon Sep 17 00:00:00 2001 From: gregoirenovel Date: Thu, 18 Jan 2018 14:03:18 +0100 Subject: [PATCH] Remove any reference to the SGMAP --- app/views/layouts/_footer.html.haml | 2 +- config/initializers/apipie.rb | 1 - doc/apipie_examples.json | 6 +++--- spec/factories/procedure.rb | 4 ++-- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/app/views/layouts/_footer.html.haml b/app/views/layouts/_footer.html.haml index 8834f8fcc..71379539c 100644 --- a/app/views/layouts/_footer.html.haml +++ b/app/views/layouts/_footer.html.haml @@ -1,6 +1,6 @@ #footer %p{ class: "copyright col-md-push-#{12-main_container_size} col-md-#{main_container_size} col-lg-push-#{12-main_container_size} col-lg-#{main_container_size} text-muted small" } - = link_to 'SGMAP', "http://etatplateforme.modernisation.gouv.fr" + = link_to 'DINSIC', "http://etatplateforme.modernisation.gouv.fr" = Time.now.year \- = link_to 'Nouveautés', 'https://github.com/betagouv/tps/releases', target: '_blank' diff --git a/config/initializers/apipie.rb b/config/initializers/apipie.rb index 362020851..4609310f2 100644 --- a/config/initializers/apipie.rb +++ b/config/initializers/apipie.rb @@ -6,7 +6,6 @@ Apipie.configure do |config| config.markup = Apipie::Markup::Markdown.new config.default_version = '1.0' config.validate = false - config.copyright = "© SGMAP" config.namespaced_resources = true config.show_all_examples = true diff --git a/doc/apipie_examples.json b/doc/apipie_examples.json index 229529ce4..e62a7031f 100644 --- a/doc/apipie_examples.json +++ b/doc/apipie_examples.json @@ -101,7 +101,7 @@ "order_place": 1, "description": "description de votre projet" } - }, + }, { "value": { "type": "MultiPolygon", @@ -257,8 +257,8 @@ "link": "http://localhost", "id": 3, "description": "Demande de subvention à l'intention des associations", - "organisation": "Orga SGMAP", - "direction": "direction SGMAP", + "organisation": "Orga DINSIC", + "direction": "direction DINSIC", "archived_at": null, "geographic_information": { "use_api_carto": true, diff --git a/spec/factories/procedure.rb b/spec/factories/procedure.rb index 7b8172458..46477a14b 100644 --- a/spec/factories/procedure.rb +++ b/spec/factories/procedure.rb @@ -4,8 +4,8 @@ FactoryGirl.define do lien_demarche 'http://localhost' sequence(:libelle) { |n| "Procedure #{n}" } description "Demande de subvention à l'intention des associations" - organisation "Orga SGMAP" - direction "direction SGMAP" + organisation "Orga DINSIC" + direction "direction DINSIC" published_at nil cerfa_flag false administrateur { create(:administrateur) }