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>2017-02-13 14:26:33 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-02-13 23:30:10 +0300
commit2c55fd0019ea9ac33e310151a61892fada42d5a2 (patch)
treea658277ef7bea4390d8856755251be72b53b697f /app/services/projects
parente5f446b7ca4bc54ffaf527e4c57dea2bee2f79f6 (diff)
Add GFM support to nested groups
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'app/services/projects')
-rw-r--r--app/services/projects/participants_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/projects/participants_service.rb b/app/services/projects/participants_service.rb
index 96c363c8d1a..e6193fcacee 100644
--- a/app/services/projects/participants_service.rb
+++ b/app/services/projects/participants_service.rb
@@ -36,7 +36,7 @@ module Projects
def groups
current_user.authorized_groups.sort_by(&:path).map do |group|
count = group.users.count
- { username: group.path, name: group.name, count: count, avatar_url: group.avatar_url }
+ { username: group.full_path, name: group.full_name, count: count, avatar_url: group.avatar_url }
end
end