1

Over a template I do a render method:

{{ render(controller('AppBundle:Widgets:myCapsWidget'),{'somestring':someString})  }}

Over the controller I have the following method:

public function myCapsWidgetAction($somestring)
{
  return new Response(strtoupper($somestring));
}

I also looked over theese links:

But still cannot find any light to my path.

0

1 Answer 1

1

If I read the first link you gave us, you should use:

{{ render(controller('AppBundle:Widgets:myCapsWidget',{'somestring':someString}))  }}
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.