summaryrefslogtreecommitdiff
path: root/app/contexts
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-18 22:43:14 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-18 22:43:14 +0200
commitae06a0aab8be3ea3bad8066d2e19c12d86b85ad8 (patch)
tree616538d7f26b90cb9d5160812c2cbb4267fbda53 /app/contexts
parent6956f1f6e1844c683336eea03d090ed3f306a3f7 (diff)
downloadgitlab-ce-ae06a0aab8be3ea3bad8066d2e19c12d86b85ad8.tar.gz
Return own tab for wall. Improve Wiki nav. Removed attachments listing page
Diffstat (limited to 'app/contexts')
-rw-r--r--app/contexts/projects/create_context.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/contexts/projects/create_context.rb b/app/contexts/projects/create_context.rb
index fe8dde8c954..da666a71f0d 100644
--- a/app/contexts/projects/create_context.rb
+++ b/app/contexts/projects/create_context.rb
@@ -32,6 +32,9 @@ module Projects
@project.namespace_id = current_user.namespace_id
end
+ # Disable wall by default
+ @project.wall_enabled = false
+
@project.creator = current_user
# Import project from cloneable resource