Skip to content

Commit 687d241

Browse files
RubixR4helios-ag
authored andcommitted
Fixed twig extension for SF4. (#302)
* Fixed twig extension for SF4. (#299)
1 parent a5692e9 commit 687d241

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Twig/Extension/FMElfinderExtension.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function tinymce($instance = 'default', $parameters = array('width' => 90
5050
throw new \Twig_Error_Runtime('The function can be applied to strings only.');
5151
}
5252

53-
return $this->twig->render('FMElfinderBundle:Elfinder/helper:_tinymce.html.twig',
53+
return $this->twig->render('@FMElfinder/Elfinder/helper/_tinymce.html.twig',
5454
array(
5555
'instance' => $instance,
5656
'width' => $parameters['width'],
@@ -73,7 +73,7 @@ public function tinymce4($instance = 'default', $parameters = array('width' => 9
7373
throw new \Twig_Error_Runtime('The function can be applied to strings only.');
7474
}
7575

76-
return $this->twig->render('FMElfinderBundle:Elfinder/helper:_tinymce4.html.twig',
76+
return $this->twig->render('@FMElfinder/Elfinder/helper/_tinymce4.html.twig',
7777
array(
7878
'instance' => $instance,
7979
'width' => $parameters['width'],
@@ -97,7 +97,7 @@ public function summernote($instance = 'default', $selector = '.summenote', $par
9797
throw new \Twig_Error_Runtime('The function can be applied to strings only.');
9898
}
9999

100-
return $this->twig->render('FMElfinderBundle:Elfinder/helper:_summernote.html.twig',
100+
return $this->twig->render('@FMElfinder/Elfinder/helper/_summernote.html.twig',
101101
array(
102102
'instance' => $instance,
103103
'selector' => $selector,

0 commit comments

Comments
 (0)