summaryrefslogtreecommitdiff
path: root/app/helpers/boards_helper.rb
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-04-28 11:27:52 +0100
committerPhil Hughes <me@iamphill.com>2017-04-28 11:27:52 +0100
commit79d50538c4c633dd35b6182ba4d08d4eba7576fc (patch)
treec4918e46d4f325ae82fd28aaf9bd3f4a06874070 /app/helpers/boards_helper.rb
parentef518df28adc1366d868cb990952e87f60e8b0eb (diff)
downloadgitlab-ce-79d50538c4c633dd35b6182ba4d08d4eba7576fc.tar.gz
Fixed avatar not displaying in issue boards
This happens when Gravatar is disabled in the admin settings, the avatar is returned as null & then frontend didn't do anything about it. Closes #31428
Diffstat (limited to 'app/helpers/boards_helper.rb')
-rw-r--r--app/helpers/boards_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/helpers/boards_helper.rb b/app/helpers/boards_helper.rb
index f43827da446..e2df52e3833 100644
--- a/app/helpers/boards_helper.rb
+++ b/app/helpers/boards_helper.rb
@@ -9,6 +9,7 @@ module BoardsHelper
issue_link_base: namespace_project_issues_path(@project.namespace, @project),
root_path: root_path,
bulk_update_path: bulk_update_namespace_project_issues_path(@project.namespace, @project),
+ default_avatar: image_path(default_avatar)
}
end
end