]> git.openstreetmap.org Git - rails.git/blob - app/views/api/user_preferences/index.json.jbuilder
Merge pull request #5362 from AntonKhorev/color-mode-preference-map
[rails.git] / app / views / api / user_preferences / index.json.jbuilder
1 json.partial! "api/root_attributes"
2
3 json.preferences(@user_preferences.to_h { |pref| [pref.k, pref.v] })