X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/d8abf0dc7e1189c99a4c34668216594ee16ba5d9..32ab099c3504c0a9de14ae857c0fe76990bdfc37:/app/views/api/users/_user.xml.builder diff --git a/app/views/api/users/_user.xml.builder b/app/views/api/users/_user.xml.builder index 23ec1d34d..9fb74826a 100644 --- a/app/views/api/users/_user.xml.builder +++ b/app/views/api/users/_user.xml.builder @@ -25,7 +25,7 @@ xml.tag! "user", :id => user.id, end end if current_user && current_user == user && can?(:details, User) - if user.has_home? + if user.home_location? xml.tag! "home", :lat => user.home_lat, :lon => user.home_lon, :zoom => user.home_zoom