X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/a67ff9c0389702e169e44103d02d89886878a51d..8a6c34fa78cf4fa52332d90448dae50087f2b510:/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] })