summaryrefslogtreecommitdiff
path: root/repoze/bfg/meta.zcml
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2008-07-14 07:31:31 +0000
committerChris McDonough <chrism@agendaless.com>2008-07-14 07:31:31 +0000
commit85427fa0479aefd59bd55dca397b9a36277edade (patch)
treecafad1ccb7d3f4c9a0b953adba78cd8caae70e93 /repoze/bfg/meta.zcml
parent9fcb68e1563e22eed1fd7cbbd10993cff30242f8 (diff)
downloadpyramid-85427fa0479aefd59bd55dca397b9a36277edade.tar.gz
pyramid-85427fa0479aefd59bd55dca397b9a36277edade.tar.bz2
pyramid-85427fa0479aefd59bd55dca397b9a36277edade.zip
Less magical templated view model: make custom template views responsible for
knowing their template's name.
Diffstat (limited to 'repoze/bfg/meta.zcml')
-rw-r--r--repoze/bfg/meta.zcml8
1 files changed, 4 insertions, 4 deletions
diff --git a/repoze/bfg/meta.zcml b/repoze/bfg/meta.zcml
index c27123485..72e963ae6 100644
--- a/repoze/bfg/meta.zcml
+++ b/repoze/bfg/meta.zcml
@@ -2,12 +2,12 @@
xmlns="http://namespaces.zope.org/zope"
xmlns:meta="http://namespaces.zope.org/meta">
- <meta:directives namespace="http://namespaces.repoze.org/browser">
+ <meta:directives namespace="http://namespaces.repoze.org/bfg">
<meta:directive
- name="page"
- schema=".zcml.IPageDirective"
- handler=".zcml.page"
+ name="view"
+ schema=".zcml.IViewDirective"
+ handler=".zcml.view"
/>
</meta:directives>