Send parameters from a controller to a view and how to use them? #7626
Answered
by
thibaultferaux
thibaultferaux
asked this question in
Q&A
-
I want to send parameters from a controller to a antlers view, but when I try this following the documentation on controllers I can't access the parameters in my view. Controller:
View: The $id is not empty because when I dump it from the controller I get the correct value |
Beta Was this translation helpful? Give feedback.
Answered by
thibaultferaux
Feb 28, 2023
Replies: 1 comment 1 reply
-
I have found the answer. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
thibaultferaux
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have found the answer.
In the array of the
with
function i have to use=>
instead of,
.This was my fix.