summaryrefslogtreecommitdiff
path: root/app/models/user.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-13 18:02:42 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-06-13 18:02:42 +0300
commita7345e368a92396c04e9cd8d1a9c1ed2ed50d15e (patch)
treefae0d629d239c1ca860ef95de12a15b23343ee60 /app/models/user.rb
parentae564c97d48bf728745c57720734cb40378fd90f (diff)
downloadgitlab-ce-a7345e368a92396c04e9cd8d1a9c1ed2ed50d15e.tar.gz
Fix gravatar size and update docs for new users API
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
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 6ad337c57ae..2352f8c050b 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -487,7 +487,7 @@ class User < ActiveRecord::Base
if avatar.present?
URI::join(Gitlab.config.gitlab.url, avatar.url).to_s
else
- GravatarService.new.execute(email)
+ GravatarService.new.execute(email, size)
end
end
end