summaryrefslogtreecommitdiff
path: root/configure.zcml
diff options
context:
space:
mode:
Diffstat (limited to 'configure.zcml')
-rw-r--r--configure.zcml17
1 files changed, 17 insertions, 0 deletions
diff --git a/configure.zcml b/configure.zcml
new file mode 100644
index 0000000..2b07c13
--- /dev/null
+++ b/configure.zcml
@@ -0,0 +1,17 @@
1<configure xmlns="http://namespaces.repoze.org/bfg">
2
3 <include package="repoze.bfg.includes" />
4
5 <view view="tinybill.hello_world" />
6
7 <!-- Customers -->
8 <view view="customer.list" name="customers" renderer="templates/customers.pt" />
9 <view view="customer.new" name="customerNew" />
10 <route view="customer.info" name="customersRoute" path="/customer/:customer" />
11
12 <!-- Products -->
13 <view view="product.list" name="products" renderer="templates/products.pt" />
14 <view view="product.new" name="productNew" />
15 <route view="product.info" name="productRoute" path="/product/:product" />
16
17</configure>