[WebBundle] fixed template name with a custom renderer
This commit is contained in:
parent
8cd2b45004
commit
78286bed68
@ -122,7 +122,7 @@ class Engine extends BaseEngine
|
|||||||
$options = array(
|
$options = array(
|
||||||
'bundle' => str_replace('\\', '/', $parts[0]),
|
'bundle' => str_replace('\\', '/', $parts[0]),
|
||||||
'controller' => $parts[1],
|
'controller' => $parts[1],
|
||||||
'renderer' => isset($parts[3]) ? $parts[3] : 'php',
|
'renderer' => isset($parts[3]) && $parts[3] ? $parts[3] : 'php',
|
||||||
'format' => '',
|
'format' => '',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user