summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--repoze/bfg/paster_templates/routesalchemy/+package+/configure.zcml5
1 files changed, 3 insertions, 2 deletions
diff --git a/repoze/bfg/paster_templates/routesalchemy/+package+/configure.zcml b/repoze/bfg/paster_templates/routesalchemy/+package+/configure.zcml
index 4858c47fd..13f4e2531 100644
--- a/repoze/bfg/paster_templates/routesalchemy/+package+/configure.zcml
+++ b/repoze/bfg/paster_templates/routesalchemy/+package+/configure.zcml
@@ -6,12 +6,13 @@
<subscriber for="repoze.bfg.interfaces.INewRequest"
handler=".run.handle_teardown"/>
- <route path=""
+ <route
+ path=""
name="home"
view=".views.my_view"
/>
- <route path="static/*subpath"
+ <view
name="static"
view=".views.static_view"
/>