Add default value for the setting on seeds/dev_seeds

This commit is contained in:
Raúl Fuentes
2018-04-10 15:08:17 +02:00
parent dddc381ee2
commit bc1b70205b
2 changed files with 3 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ section "Creating Settings" do
Setting.create(key: 'feature.allow_attached_documents', value: "true")
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: 'per_page_code_head', value: "")
Setting.create(key: 'per_page_code_body', value: "")

View File

@@ -123,3 +123,5 @@ Setting['map_zoom'] = 10
# Related content
Setting['related_content_score_threshold'] = -0.3
Setting["feature.user.skip_verification"] = 'true'