X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e2cb2327f9e5a3a107dbe249e4fe503cbde45d24..ea3760f94d9d74d3aaa8492182b9e1a15ec1effa:/app/views/api/users/_user.json.jbuilder diff --git a/app/views/api/users/_user.json.jbuilder b/app/views/api/users/_user.json.jbuilder index b84916010..1a339f628 100644 --- a/app/views/api/users/_user.json.jbuilder +++ b/app/views/api/users/_user.json.jbuilder @@ -46,7 +46,7 @@ json.user do end if current_user && current_user == user && can?(:details, User) - if user.has_home? + if user.home_location? json.home do json.lat user.home_lat json.lon user.home_lon