Skip to content
Permalink
Browse files

EZP-21315: fixed custom controller attributes not being set

  • Loading branch information...
pspanja committed Mar 19, 2014
1 parent fb0fef7 commit 409d8cceee128b4508b12d79215398b6d2abb2c8
Showing with 16 additions and 0 deletions.
  1. +16 −0 eZ/Publish/Core/MVC/Symfony/FieldType/RichText/EmbedRenderer.php
@@ -99,6 +99,14 @@ function ( Repository $repository ) use ( $contentId )
$parameters
);
}
else
{
$controllerReference->attributes = array(
"contentId" => $contentId,
"viewType" => $viewType,
"params" => $parameters
);
}
$rendered = $this->fragmentHandler->render(
$controllerReference,
@@ -173,6 +181,14 @@ function ( Repository $repository ) use ( $locationId )
$parameters
);
}
else
{
$controllerReference->attributes = array(
"locationId" => $locationId,
"viewType" => $viewType,
"params" => $parameters
);
}
$rendered = $this->fragmentHandler->render(
$controllerReference,

0 comments on commit 409d8cc

Please sign in to comment.
You can’t perform that action at this time.