diff options
author | Sean McGivern <sean@gitlab.com> | 2016-05-31 13:02:12 +0100 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-06-02 11:19:27 +0100 |
commit | 1521dc51e9f0c37434c8290d67d775bc9fde188d (patch) | |
tree | 94ce2eb3df54e2fe49cac4af5896d61bbf5e182d /app | |
parent | acfbeced52db321534c7b03a56a909e280d26914 (diff) | |
download | gitlab-ce-1521dc51e9f0c37434c8290d67d775bc9fde188d.tar.gz |
Fix link to blank group icon
When the group is the default blank icon, this needs to use the
`image_path` helper; otherwise, the link won't work if assets are
precompiled. This still works fine for uploaded icons in either case.
Diffstat (limited to 'app')
-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 b1f0a765bb9..4cac69c6795 100644 --- a/app/helpers/groups_helper.rb +++ b/app/helpers/groups_helper.rb @@ -31,7 +31,7 @@ module GroupsHelper if group && group.avatar.present? group.avatar.url else - 'no_group_avatar.png' + image_path('no_group_avatar.png') end end |