Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-28 20:04:42 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-28 20:04:42 +0400
commit1932f902d51d17ff4eb4ebfd15a16fac55cf9eb4 (patch)
treef2a6bf2abff9741b6bd5ca66770bc04a43e2cb15 /app/views/groups/_projects.html.haml
parent14f78d067d703c20b788498cd90c40903ba9f84e (diff)
Allow masters to create projects in groups
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/views/groups/_projects.html.haml')
-rw-r--r--app/views/groups/_projects.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/groups/_projects.html.haml b/app/views/groups/_projects.html.haml
index 41f8cb9da40..4ded28058ed 100644
--- a/app/views/groups/_projects.html.haml
+++ b/app/views/groups/_projects.html.haml
@@ -1,7 +1,7 @@
.ui-box
.title
Projects (#{projects.count})
- - if can? current_user, :manage_group, @group
+ - if can? current_user, :create_projects, @group
%span.pull-right
= link_to new_project_path(namespace_id: @group.id), class: "btn btn-new" do
%i.icon-plus