]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/api/users/_user.builder
Add some missing _html suffixes
[rails.git] / app / views / api / users / _user.builder
index 638e8583fb5b0de6ff454847dda8270b83a92a50..d8c6c1c6ef876fe50722697d194840fb21508b9a 100644 (file)
@@ -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