projects
/
depot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Finished Chapter 12
[depot.git]
/
app
/
views
/
info
/
who_bought.xml.builder
diff --git a/app/views/info/who_bought.xml.builder
b/app/views/info/who_bought.xml.builder
new file mode 100644
(file)
index 0000000..
0703dec
--- /dev/null
+++ b/
app/views/info/who_bought.xml.builder
@@ -0,0
+1,8
@@
+xml.order_list(:for_product => @product.title) do
+ for o in @orders
+ xml.order do
+ xml.name(o.name)
+ xml.email(o.email)
+ end
+ end
+end
\ No newline at end of file