Fixed sheet render error.

pull/146/head
ruibaby 2019-05-04 01:43:58 +08:00
parent 41793365e2
commit 700f00bb5b
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ public class ContentSheetController {
model.addAttribute("is_sheet", true);
if (StrUtil.isNotEmpty(sheet.getTemplate())) {
if (themeService.templateExists(sheet.getTemplate() + HaloConst.SUFFIX_FTL)) {
if (themeService.templateExists(ThemeService.CUSTOM_SHEET_PREFIX + sheet.getTemplate() + HaloConst.SUFFIX_FTL)) {
return themeService.render(sheet.getTemplate());
}
}