]> git.openstreetmap.org Git - rails.git/blob - app/views/api/messages/inbox.json.jbuilder
Messages: avoid calling json.partial! in loop
[rails.git] / app / views / api / messages / inbox.json.jbuilder
1 json.partial! "api/root_attributes"
2
3 json.messages do
4   json.array! @messages, :partial => "message", :as => :message
5 end