X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0fb725ea611e7788a05bcb39bbf65ccdfe7ae505..9bd1d7409196cd07c5f0f216b83e571141b52402:/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 9629e8fa5..d89b42bef 100644 --- a/app/views/api/users/_user.json.jbuilder +++ b/app/views/api/users/_user.json.jbuilder @@ -54,11 +54,7 @@ json.user do end end - if user.languages - json.languages do - json.array! user.languages.split(",") - end - end + json.languages user.languages if user.languages? json.messages do json.received do