diff options
| author | Chris McDonough <chrism@agendaless.com> | 2008-07-14 07:31:31 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2008-07-14 07:31:31 +0000 |
| commit | 85427fa0479aefd59bd55dca397b9a36277edade (patch) | |
| tree | cafad1ccb7d3f4c9a0b953adba78cd8caae70e93 /repoze/bfg/meta.zcml | |
| parent | 9fcb68e1563e22eed1fd7cbbd10993cff30242f8 (diff) | |
| download | pyramid-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.zcml | 8 |
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> |
