diff options
author | blackst0ne <blackst0ne.ru@gmail.com> | 2017-08-09 11:42:59 +1100 |
---|---|---|
committer | blackst0ne <blackst0ne.ru@gmail.com> | 2017-08-09 11:42:59 +1100 |
commit | 67ea6abd07ec525a23818d9736939ccba6c96a2c (patch) | |
tree | a920404fd11125ce33f66db6ea83dbf50a27cf34 /app/models/user.rb | |
parent | 8d2099cd8ab02209a0c7aeccc43ecba57a07ae2a (diff) | |
download | gitlab-ce-67ea6abd07ec525a23818d9736939ccba6c96a2c.tar.gz |
Use full path of user's avatar in webhooks34339-user_avatar-url-in-push-event-webhook-json-payload-is-relative-should-be-absolute
Diffstat (limited to 'app/models/user.rb')
-rw-r--r-- | app/models/user.rb | 2 |
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 |