X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/0fb725ea611e7788a05bcb39bbf65ccdfe7ae505..b70da7b8ea15ab48bb2f34155567cea6dffc8fc9:/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