diff options
Diffstat (limited to 'repoze/bfg/paster_templates/routesalchemy')
| -rw-r--r-- | repoze/bfg/paster_templates/routesalchemy/+package+/configure.zcml | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/repoze/bfg/paster_templates/routesalchemy/+package+/configure.zcml b/repoze/bfg/paster_templates/routesalchemy/+package+/configure.zcml index aca4566bc..c297209f4 100644 --- a/repoze/bfg/paster_templates/routesalchemy/+package+/configure.zcml +++ b/repoze/bfg/paster_templates/routesalchemy/+package+/configure.zcml @@ -8,17 +8,13 @@ <route path="" name="home" + view=".views.my_view" factory=".models.get_root_model" /> - <view - for=".models.Model" - view=".views.my_view" - /> - - <view - view=".views.static_view" - name="static" - /> + <route path="static/*subpath" + name="static" + view=".views.static_view" + /> </configure> |
