]> git.openstreetmap.org Git - rails.git/blob - app/views/api/user_preferences/_user_preference.xml.builder
Changeset: avoid XML rendering in loop
[rails.git] / app / views / api / user_preferences / _user_preference.xml.builder
1 attrs = {
2   "k" => user_preference.k,
3   "v" => user_preference.v
4 }
5
6 xml.preference(attrs)