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>2013-01-24 19:47:09 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-24 19:47:09 +0400
commitf6c482c06f48449e7dcff34455b5bbdfbd8f6c7b (patch)
tree5524251aeea0ae6f00a4ecb8775fbf542d98eab5 /app/models
parentd9027df5b55f2eb82f1a71e96412c5e802909090 (diff)
User can create group
Diffstat (limited to 'app/models')
-rw-r--r--app/models/user.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 35a693fdb1c..743d7523bdc 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -220,7 +220,7 @@ class User < ActiveRecord::Base
end
def can_create_group?
- is_admin?
+ can_create_project?
end
def abilities