Enable SDG content by default

We didn't enable it by default in commit 676adfcb3 so existing
installations didn't suddenly get a new section without expecting it.

But since the setting already exists for installations using version
CONSUL 1.3, now it will only be enabled for new installations.
This commit is contained in:
Javi Martín
2021-08-24 23:44:03 +02:00
parent cd3a76b77d
commit 797f61c0ca
2 changed files with 1 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ class Setting < ApplicationRecord
"feature.remote_census": nil, "feature.remote_census": nil,
"feature.valuation_comment_notification": true, "feature.valuation_comment_notification": true,
"feature.graphql_api": true, "feature.graphql_api": true,
"feature.sdg": false, "feature.sdg": true,
"feature.machine_learning": false, "feature.machine_learning": false,
"homepage.widgets.feeds.debates": true, "homepage.widgets.feeds.debates": true,
"homepage.widgets.feeds.processes": true, "homepage.widgets.feeds.processes": true,

View File

@@ -5,7 +5,6 @@ section "Creating Settings" do
"facebook_handle": "CONSUL", "facebook_handle": "CONSUL",
"feature.featured_proposals": "true", "feature.featured_proposals": "true",
"feature.map": "true", "feature.map": "true",
"feature.sdg": "true",
"instagram_handle": "CONSUL", "instagram_handle": "CONSUL",
"mailer_from_address": "noreply@consul.dev", "mailer_from_address": "noreply@consul.dev",
"mailer_from_name": "CONSUL", "mailer_from_name": "CONSUL",