Add default value for the setting on seeds/dev_seeds
This commit is contained in:
@@ -46,6 +46,7 @@ section "Creating Settings" do
|
|||||||
Setting.create(key: 'feature.allow_attached_documents', value: "true")
|
Setting.create(key: 'feature.allow_attached_documents', value: "true")
|
||||||
Setting.create(key: 'feature.public_stats', value: "true")
|
Setting.create(key: 'feature.public_stats', value: "true")
|
||||||
Setting.create(key: 'feature.guides', value: nil)
|
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_head', value: "")
|
||||||
Setting.create(key: 'per_page_code_body', value: "")
|
Setting.create(key: 'per_page_code_body', value: "")
|
||||||
|
|||||||
@@ -123,3 +123,5 @@ Setting['map_zoom'] = 10
|
|||||||
|
|
||||||
# Related content
|
# Related content
|
||||||
Setting['related_content_score_threshold'] = -0.3
|
Setting['related_content_score_threshold'] = -0.3
|
||||||
|
|
||||||
|
Setting["feature.user.skip_verification"] = 'true'
|
||||||
|
|||||||
Reference in New Issue
Block a user