Commit 7907bc81 authored by Andrew8xx8's avatar Andrew8xx8

Default values for project features added to create context

parent d51618b9
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment