Skip to content

Commit

Permalink
Resolve Twig 3.15 deprecation issue codemonauts#10
Browse files Browse the repository at this point in the history
  • Loading branch information
grantdmcclure committed Jan 28, 2025
1 parent 9233d6c commit 696d2cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Glossary.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public function init(): void
// Register the plugin's template root
Event::on(
View::class,
View::EVENT_REGISTER_CP_TEMPLATE_ROOTS,
View::EVENT_REGISTER_TEMPLATE_ROOTS,
function (RegisterTemplateRootsEvent $event) {
$event->roots['glossary'] = $this->getBasePath() . '/templates';
}
Expand Down

0 comments on commit 696d2cd

Please sign in to comment.