summaryrefslogtreecommitdiff
path: root/app/serializers/group_entity.rb
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2017-10-02 13:35:01 +0200
committerTim Zallmann <tzallmann@gitlab.com>2017-10-04 14:27:09 +0200
commit892b02e890be539a95e6b52feb14f5d188513700 (patch)
tree661aa31f1b090a134af39ab08a038017c2a0fbf3 /app/serializers/group_entity.rb
parent79c80de99d511d084cff072bd90192ffe8ba4cda (diff)
downloadgitlab-ce-892b02e890be539a95e6b52feb14f5d188513700.tar.gz
Created group_icon and group_icon_url
Tests for these new helper methods
Diffstat (limited to 'app/serializers/group_entity.rb')
-rw-r--r--app/serializers/group_entity.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/serializers/group_entity.rb b/app/serializers/group_entity.rb
index 7c872a3e986..6d8466da902 100644
--- a/app/serializers/group_entity.rb
+++ b/app/serializers/group_entity.rb
@@ -45,6 +45,6 @@ class GroupEntity < Grape::Entity
end
expose :avatar_url do |group|
- group_icon(group)
+ group_icon_url(group)
end
end