X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c162c065c6f6db5dc584599f5639b296b627a165..e731dd71a77ad4ad1e9db22535e89444bb98e5d9:/app/views/api/users/_user.builder diff --git a/app/views/api/users/_user.builder b/app/views/api/users/_user.builder index 638e8583f..d8c6c1c6e 100644 --- a/app/views/api/users/_user.builder +++ b/app/views/api/users/_user.builder @@ -8,7 +8,7 @@ xml.tag! "user", :id => user.id, else xml.tag! "contributor-terms", :agreed => user.terms_agreed.present? end - xml.tag! "img", :href => user_image_url(user) if user.avatar.attached? || user.image.file? || user.image_use_gravatar + xml.tag! "img", :href => user_image_url(user) if user.avatar.attached? || user.image_use_gravatar xml.tag! "roles" do user.roles.each do |role| xml.tag! role.role