diff options
author | Phil Hughes <me@iamphill.com> | 2017-04-28 13:27:52 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-04-28 13:27:52 +0300 |
commit | 79d50538c4c633dd35b6182ba4d08d4eba7576fc (patch) | |
tree | c4918e46d4f325ae82fd28aaf9bd3f4a06874070 /app/helpers/boards_helper.rb | |
parent | ef518df28adc1366d868cb990952e87f60e8b0eb (diff) |
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.rb | 1 |
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 |