summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJacob Schatz <jschatz@gitlab.com>2017-01-12 14:57:57 +0000
committerJacob Schatz <jschatz@gitlab.com>2017-01-12 14:57:57 +0000
commit3c9a3918e6a93a3e3cdcbe63214809d2ba9eb959 (patch)
tree8cffc46c996b4baf6a751da6a658beb24509d5f5 /lib
parent50fff719fc148ac9f6f6a309770c6136a3aeb31b (diff)
parent3e457f78cf6798042a1fc30790c24f935861182f (diff)
downloadgitlab-ce-3c9a3918e6a93a3e3cdcbe63214809d2ba9eb959.tar.gz
Merge branch 'search-bar-first-iteration' into 'master'
Search bar first iteration Closes #21747 See merge request !7345
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/gon_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/gitlab/gon_helper.rb b/lib/gitlab/gon_helper.rb
index 4d4e04e9e35..b8a5ac907a4 100644
--- a/lib/gitlab/gon_helper.rb
+++ b/lib/gitlab/gon_helper.rb
@@ -13,6 +13,7 @@ module Gitlab
if current_user
gon.current_user_id = current_user.id
+ gon.current_username = current_user.username
end
end
end