Add current_user_avatar_url to gon

This commit is contained in:
Luke "Jared" Bennett 2017-05-18 09:40:35 +01:00
parent 0b52808f0e
commit e6a4b8c163
No known key found for this signature in database
GPG Key ID: 402ED51FB5D306C2
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ module Gitlab
gon.current_user_id = current_user.id
gon.current_username = current_user.username
gon.current_user_fullname = current_user.name
gon.current_user_avatar_url = current_user.avatar_url
end
end
end