X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a67ff9c0389702e169e44103d02d89886878a51d..1cf4bf5d983c65ac0bb3868f0bd962b016433265:/app/views/api/user_preferences/index.json.jbuilder 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] })