X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6d74aa2873a6fd79ba695292de3b26f354ff5bf7..460b8c1de243b518ee2ef9481292ec690213e623:/app/views/api/users/_user.json.jbuilder?ds=sidebyside 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