From 802ad0626e58ab1e66e21ecd29eca866c53af7e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dario=20B=C3=B6sch?= Date: Thu, 21 May 2015 16:10:07 +0200 Subject: [PATCH] Bugfix: wrong API in initialisation of blog module --- examples/demo/modules/blog/cms_blog_module.e | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/demo/modules/blog/cms_blog_module.e b/examples/demo/modules/blog/cms_blog_module.e index 1cd49dc..f69c8a6 100644 --- a/examples/demo/modules/blog/cms_blog_module.e +++ b/examples/demo/modules/blog/cms_blog_module.e @@ -42,7 +42,7 @@ feature {CMS_API} -- Module Initialization do Precursor (api) - if attached {CMS_BLOG_API} api.module_api ({NODE_MODULE}) as l_node_api then + if attached {CMS_NODE_API} api.module_api ({NODE_MODULE}) as l_node_api then create ct l_node_api.add_content_type (ct) l_node_api.add_content_type_webform_manager (create {CMS_BLOG_NODE_TYPE_WEBFORM_MANAGER}.make (ct))