diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2017-06-07 03:21:53 +0300 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2017-06-07 03:21:53 +0300 |
commit | 3427912ed48427bd95a5981044d3dd17b22bbe37 (patch) | |
tree | 2f77ac5988b2f84288555198879506a85ded317e /app/helpers/groups_helper.rb | |
parent | bd951384142f3f5ec71bd78a23aae917f151b47f (diff) |
Expose avatar URL for groups
Diffstat (limited to 'app/helpers/groups_helper.rb')
-rw-r--r-- | app/helpers/groups_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/groups_helper.rb b/app/helpers/groups_helper.rb index a6014088e92..c003b01e226 100644 --- a/app/helpers/groups_helper.rb +++ b/app/helpers/groups_helper.rb @@ -8,7 +8,7 @@ module GroupsHelper group = Group.find_by_full_path(group) end - group.try(:avatar_url) || image_path('no_group_avatar.png') + group.try(:avatar_url) || ActionController::Base.helpers.image_path('no_group_avatar.png') end def group_title(group, name = nil, url = nil) |