Skip to content
Snippets Groups Projects
Closed Broken avatar icon when user has no avatar set
  • View options
  • Broken avatar icon when user has no avatar set

  • View options
  • Closed Issue created by username-removed-41313
    diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
    index 8ecdeaf..8b82333 100644
    --- a/app/helpers/application_helper.rb
    +++ b/app/helpers/application_helper.rb
    @@ -88,7 +88,7 @@ module ApplicationHelper
       end
    
       def default_avatar
    -    'no_avatar.png'
    +    '/assets/no_avatar.png'
       end
    
       def last_commit(project)

    When Gravatar is disabled, users with no avatar have no path to no_avatar.png in issue page. This fix probably is not correct, but it works :)

    Gitlab version 8.1.3.

    Linked items 0

  • Link items together to show that they're related or that one is blocking others.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading