diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-05-18 11:40:35 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-05-18 11:40:35 +0300 |
commit | e6a4b8c16337f26c6688f0b6ef5579daf9a50d39 (patch) | |
tree | 6662300ae207a80d1f6faefccd4d867d1a89c9a9 /lib/gitlab/gon_helper.rb | |
parent | 0b52808f0e885725a311b3ce8e45c66eb02ebce0 (diff) |
Add current_user_avatar_url to gon
Diffstat (limited to 'lib/gitlab/gon_helper.rb')
-rw-r--r-- | lib/gitlab/gon_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/gon_helper.rb b/lib/gitlab/gon_helper.rb index 26473f99bc3..6200bd460ea 100644 --- a/lib/gitlab/gon_helper.rb +++ b/lib/gitlab/gon_helper.rb @@ -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 |