summaryrefslogtreecommitdiff
path: root/configure.zcml
blob: 2b07c13c4ba01f9cae9f3c7104bceab728dcc264 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<configure xmlns="http://namespaces.repoze.org/bfg">

  <include package="repoze.bfg.includes" />

  <view view="tinybill.hello_world" />

  <!-- Customers -->
  <view  view="customer.list" name="customers" renderer="templates/customers.pt" />
  <view  view="customer.new"  name="customerNew" />
  <route view="customer.info" name="customersRoute" path="/customer/:customer" />

  <!-- Products -->
  <view  view="product.list"  name="products" renderer="templates/products.pt" />
  <view  view="product.new"   name="productNew" />
  <route view="product.info"  name="productRoute" path="/product/:product" />

</configure>