Add current_user_avatar_url to gon
This commit is contained in:
parent
0b52808f0e
commit
e6a4b8c163
|
@ -17,6 +17,7 @@ module Gitlab
|
||||||
gon.current_user_id = current_user.id
|
gon.current_user_id = current_user.id
|
||||||
gon.current_username = current_user.username
|
gon.current_username = current_user.username
|
||||||
gon.current_user_fullname = current_user.name
|
gon.current_user_fullname = current_user.name
|
||||||
|
gon.current_user_avatar_url = current_user.avatar_url
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue