X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f771938538f88bf1313b911c8a9c39e4e2e4c84f..5ff17da0d72e0a9614b8be6ec916f689615e85c9:/app/views/api/messages/outbox.json.jbuilder?ds=sidebyside diff --git a/app/views/api/messages/outbox.json.jbuilder b/app/views/api/messages/outbox.json.jbuilder index 524006ded..122a82495 100644 --- a/app/views/api/messages/outbox.json.jbuilder +++ b/app/views/api/messages/outbox.json.jbuilder @@ -1,5 +1,5 @@ json.partial! "api/root_attributes" -json.messages(@messages) do |message| - json.partial! message +json.messages do + json.array! @messages, :partial => "message", :as => :message end