Skip to content

Commit 8131689

Browse files
committed
Resolve Twig 3.15 deprecation issue codemonauts#11
1 parent 696d2cd commit 8131689

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Glossary.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function init(): void
101101
// Register the plugin's template root
102102
Event::on(
103103
View::class,
104-
View::EVENT_REGISTER_TEMPLATE_ROOTS,
104+
View::EVENT_REGISTER_SITE_TEMPLATE_ROOTS,
105105
function (RegisterTemplateRootsEvent $event) {
106106
$event->roots['glossary'] = $this->getBasePath() . '/templates';
107107
}

0 commit comments

Comments
 (0)