From: russf <svn...@pl...> - 2006-06-30 23:59:47
|
Author: russf Date: Fri Jun 30 23:59:42 2006 New Revision: 25635 Modified: Quills/trunk/Weblog.py Log: added view to aliases. Now /view on the Weblog shows the weblog, not the parent object. Modified: Quills/trunk/Weblog.py ============================================================================== --- Quills/trunk/Weblog.py (original) +++ Quills/trunk/Weblog.py Fri Jun 30 23:59:42 2006 @@ -31,6 +31,7 @@ except ImportError: from Products.Archetypes.public import * from Products.Archetypes.Marshall import PrimaryFieldMarshaller +from Products.ATContentTypes.content.base import registerATCT # CMF imports from Products.CMFCore import permissions @@ -182,7 +183,7 @@ aliases = { '(Default)' : 'weblog_view', - 'view' : '', + 'view' : 'weblog_view', 'index.html' : '', 'edit' : 'base_edit', 'properties' : 'base_metadata', |