diff --git a/flextype/shortcodes/SnippetsShortcode.php b/flextype/shortcodes/SnippetsShortcode.php index 0990f878..2cf14b86 100644 --- a/flextype/shortcodes/SnippetsShortcode.php +++ b/flextype/shortcodes/SnippetsShortcode.php @@ -16,6 +16,6 @@ use Thunder\Shortcode\ShortcodeFacade; use Thunder\Shortcode\Shortcode\ShortcodeInterface; // Shortcode: [snippets_fetch id="snippet-name"] -$flextype['shortcodes']->addHandler('snippets', function (ShortcodeInterface $s) use ($flextype) { +$flextype['shortcodes']->addHandler('snippets_fetch', function (ShortcodeInterface $s) use ($flextype) { return $flextype['snippets']->exec($s->getParameter('id')); });