Changeset 1675 in products for quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/browser/views.py
- Timestamp:
- Feb 9, 2010 7:26:24 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.seoptimizer/trunk/quintagroup/seoptimizer/browser/views.py
r1672 r1675 209 209 """ 210 210 purl = getToolByName(self.context, 'portal_url')() 211 canpath = queryAdapter(self.context, interfaces.I CanonicalPath)211 canpath = queryAdapter(self.context, interfaces.ISEOCanonicalPath) 212 212 return purl + canpath.canonical_path() 213 213 … … 489 489 context.plone_utils.addPortalMessage(state) 490 490 kwargs = {'modification_date' : DateTime()} 491 context.plone_utils.contentEdit(context, **kwargs) 491 context.plone_utils.contentEdit(context, **kwargs) 492 492 return request.response.redirect(self.context.absolute_url()) 493 493 context.plone_utils.addPortalMessage(state, 'error')
Note: See TracChangeset
for help on using the changeset viewer.