Skip to content
Snippets Groups Projects
Commit 7907bc81 authored by Andrew8xx8's avatar Andrew8xx8
Browse files

Default values for project features added to create context

parent d51618b9
No related branches found
No related tags found
1 merge request!3707Default settings for project features
Loading
Loading
@@ -33,8 +33,11 @@ module Projects
end
 
# Disable less important features by default
@project.wall_enabled = false
@project.snippets_enabled = false
@project.issues_enabled = Gitlab.config.gitlab.default_projects_features.issues
@project.wiki_enabled = Gitlab.config.gitlab.default_projects_features.wiki
@project.wall_enabled = Gitlab.config.gitlab.default_projects_features.wall
@project.snippets_enabled = Gitlab.config.gitlab.default_projects_features.snippets
@project.merge_requests_enabled = Gitlab.config.gitlab.default_projects_features.merge_requests
 
@project.creator = current_user
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment