Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
980afdc10a | |||
791128c0fd |
@ -34,6 +34,6 @@ class GregwarCaptchaExtension extends Extension
|
|||||||
$container->setParameter('gregwar_captcha.config.whitelist_key', $config['whitelist_key']);
|
$container->setParameter('gregwar_captcha.config.whitelist_key', $config['whitelist_key']);
|
||||||
|
|
||||||
$resources = $container->getParameter('twig.form.resources');
|
$resources = $container->getParameter('twig.form.resources');
|
||||||
$container->setParameter('twig.form.resources', array_merge(array('GregwarCaptchaBundle::captcha.html.twig'), $resources));
|
$container->setParameter('twig.form.resources', array_merge(array('@GregwarCaptcha/captcha.html.twig'), $resources));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user