This action expects one parameter but from twig you are sending 4 parameters as per your twig file control.html/twig{{ render(controller('DCSRatingBundle:Rating:control', {'id' : id, 'permalink' : permalink, 'securityRole' : securityRole, 'params' : params|default({})})) }}
I would suggest adding these params in the controller also. This will make things consistent with the parameters sent to the controller from the template.
Excuse the delay in response. I did not add the parameters in the signature because I don't need in controller flow and find them still in the Request object
This action expects one parameter but from twig you are sending 4 parameters as per your twig file
control.html/twig
{{ render(controller('DCSRatingBundle:Rating:control', {'id' : id, 'permalink' : permalink, 'securityRole' : securityRole, 'params' : params|default({})})) }}
I would suggest adding these params in the controller also. This will make things consistent with the parameters sent to the controller from the template.