[Zope3-checkins]
SVN: Zope3/trunk/src/zope/app/publisher/browser/metaconfigure.py
Bugfix,
use layer attribute in defaultView's discriminator instead of type
Roger Ineichen
roger at projekt01.ch
Fri Mar 4 07:58:56 EST 2005
Log message for revision 29395:
Bugfix, use layer attribute in defaultView's discriminator instead of type
Changed:
U Zope3/trunk/src/zope/app/publisher/browser/metaconfigure.py
-=-
Modified: Zope3/trunk/src/zope/app/publisher/browser/metaconfigure.py
===================================================================
--- Zope3/trunk/src/zope/app/publisher/browser/metaconfigure.py 2005-03-03 20:09:37 UTC (rev 29394)
+++ Zope3/trunk/src/zope/app/publisher/browser/metaconfigure.py 2005-03-04 12:58:56 UTC (rev 29395)
@@ -335,7 +335,7 @@
def defaultView(_context, name, for_=None, layer=IBrowserRequest):
_context.action(
- discriminator = ('defaultViewName', for_, type, name),
+ discriminator = ('defaultViewName', for_, layer, name),
callable = handler,
args = ('provideAdapter',
(for_, layer), IDefaultViewName, '', name, _context.info)
More information about the Zope3-Checkins
mailing list