@@ -541,7 +541,7 @@ module.exports = function(crowi) {
.find({path: {$in: regexpList}})
.then(templates => {
templateInfo.childrenTemplateExists = (assignTemplateByType(templates, path, '_') ? true : false);
- templateInfo.decendantsTemplateExists = (assignDecendantsTemplate(templates, path) ? true : false);
+ templateInfo.decendantsTemplateExists = (assignTemplateByType(templates, path, '__') ? true : false);
return templateInfo;
});