Skip to content

Commit

Permalink
Merge pull request #44 from netgen/view_modal_params
Browse files Browse the repository at this point in the history
Pass referer params properly
  • Loading branch information
pspanja authored Jun 26, 2023
2 parents f991501 + 688b387 commit d3bb418
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bundle/Controller/InfoCollection/ViewModal.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ public function __invoke(int $formContentId, ?int $refererLocationId = null): Re
$this->getLoadService()->loadContent($formContentId),
'modal',
[
'referer' => $this->refererResolver->getReferer($refererLocationId),
'params' => [
'referer' => $this->refererResolver->getReferer($refererLocationId),
'refererLocationId' => $refererLocationId,
],
],
),
);
Expand Down

0 comments on commit d3bb418

Please sign in to comment.