X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a67ff9c0389702e169e44103d02d89886878a51d..1c7ead6008397ce815de4102d023a708be636a3c:/app/views/api/user_preferences/index.json.jbuilder?ds=sidebyside diff --git a/app/views/api/user_preferences/index.json.jbuilder b/app/views/api/user_preferences/index.json.jbuilder index b3255562f..f4f0d284f 100644 --- a/app/views/api/user_preferences/index.json.jbuilder +++ b/app/views/api/user_preferences/index.json.jbuilder @@ -1 +1,3 @@ -json.partial! @user_preferences +json.partial! "api/root_attributes" + +json.preferences(@user_preferences.to_h { |pref| [pref.k, pref.v] })