Skip to content

Commit

Permalink
Compatibility to SF4 in FMElfinderExtension.php (#318)
Browse files Browse the repository at this point in the history
I simply replace :
FMElfinderBundle:Elfinder/helper:
with :
@FMElfinder/Elfinder/helper/
  • Loading branch information
NodokaMurmevent authored and helios-ag committed May 25, 2018
1 parent 4faa1ea commit a49fc58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Twig/Extension/FMElfinderExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function tinymce($instance = 'default', $parameters = array('width' => 90
throw new \Twig_Error_Runtime('The function can be applied to strings only.');
}

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

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

return $this->twig->render('FMElfinderBundle:Elfinder/helper:_summernote.html.twig',
return $this->twig->render('@FMElfinder/Elfinder/helper/_summernote.html.twig',
array(
'instance' => $instance,
'selector' => $selector,
Expand Down

0 comments on commit a49fc58

Please sign in to comment.