Adds setting to enable or disable help page

This commit is contained in:
decabeza
2018-09-28 18:59:28 +02:00
parent 2c22ab347d
commit dd11a040a6
7 changed files with 48 additions and 8 deletions

View File

@@ -49,6 +49,7 @@ section "Creating Settings" do
Setting.create(key: 'feature.public_stats', value: "true")
Setting.create(key: 'feature.guides', value: nil)
Setting.create(key: 'feature.user.skip_verification', value: "true")
Setting.create(key: 'feature.help_page', value: "true")
Setting.create(key: 'per_page_code_head', value: "")
Setting.create(key: 'per_page_code_body', value: "")

View File

@@ -89,6 +89,7 @@ Setting['feature.map'] = nil
Setting['feature.allow_images'] = true
Setting['feature.allow_attached_documents'] = true
Setting['feature.guides'] = nil
Setting['feature.help_page'] = true
# Spending proposals feature flags
Setting['feature.spending_proposal_features.voting_allowed'] = nil