Renamed base content provider class
authorThierry Florac <thierry.florac@onf.fr>
Wed, 13 Sep 2017 15:54:54 +0200
changeset 205 538a8adb6d73
parent 204 8a2dde430b94
child 206 7ac7101a76c6
Renamed base content provider class
src/pyams_skin/viewlet/breadcrumb/__init__.py
--- a/src/pyams_skin/viewlet/breadcrumb/__init__.py	Wed Sep 13 15:43:11 2017 +0200
+++ b/src/pyams_skin/viewlet/breadcrumb/__init__.py	Wed Sep 13 15:54:54 2017 +0200
@@ -23,7 +23,7 @@
 from pyams_template.template import template_config
 from pyams_utils.adapter import ContextRequestAdapter
 from pyams_utils.url import absolute_url
-from pyams_viewlet.viewlet import contentprovider_config, ContentProvider
+from pyams_viewlet.viewlet import contentprovider_config, ViewContentProvider
 from pyramid.location import lineage
 from zope.interface import implementer
 from zope.schema.fieldproperty import FieldProperty
@@ -44,7 +44,7 @@
 
 @contentprovider_config(name='pyams.breadcrumbs', layer=IPyAMSLayer)
 @template_config(template='breadcrumbs.pt', layer=IPyAMSLayer)
-class BreadcrumbsContentProvider(ContentProvider):
+class BreadcrumbsContentProvider(ViewContentProvider):
     """Breadcrumbs content provider"""
 
     @property