summaryrefslogtreecommitdiff
path: root/app/models/user.rb
diff options
context:
space:
mode:
authorblackst0ne <blackst0ne.ru@gmail.com>2017-08-09 11:42:59 +1100
committerblackst0ne <blackst0ne.ru@gmail.com>2017-08-09 11:42:59 +1100
commit67ea6abd07ec525a23818d9736939ccba6c96a2c (patch)
treea920404fd11125ce33f66db6ea83dbf50a27cf34 /app/models/user.rb
parent8d2099cd8ab02209a0c7aeccc43ecba57a07ae2a (diff)
downloadgitlab-ce-67ea6abd07ec525a23818d9736939ccba6c96a2c.tar.gz
Diffstat (limited to 'app/models/user.rb')
-rw-r--r--app/models/user.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/user.rb b/app/models/user.rb
index 43973425a4b..5d8672d60b3 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -825,7 +825,7 @@ class User < ActiveRecord::Base
{
name: name,
username: username,
- avatar_url: avatar_url
+ avatar_url: avatar_url(only_path: false)
}
end