mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-04-03 22:03:33 +03:00
commit
f08b957670
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ class MarkdownExtension extends \Twig_Extension
|
|||
public function getFilters()
|
||||
{
|
||||
return array(
|
||||
'extra_markdown' => new \Twig_Filter_Method($this, 'markdown', array('is_safe' => array('html'))),
|
||||
new \Twig_SimpleFilter('extra_markdown', array($this, 'markdown'), array('is_safe' => array('html'))),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue