Due to my depencencies I need to create a subrequest in twig e.g.
render(controller('AppBundle:RenderTestDataTable:index', {'id': id}))
for creating a datatable. In the Controller named RenderTestDataTableController->indexAction I am using the omines-datatable.
I have some issues doing that - the datatable is not created. Is it even possible to make an omines-datatable using this kind of subrequest?
The project uses waldo/datatable bundle before and rendered the datatable with a subrequest.
Due to my depencencies I need to create a subrequest in twig e.g.
render(controller('AppBundle:RenderTestDataTable:index', {'id': id}))
for creating a datatable. In the Controller named RenderTestDataTableController->indexAction I am using the omines-datatable. I have some issues doing that - the datatable is not created. Is it even possible to make an omines-datatable using this kind of subrequest?The project uses waldo/datatable bundle before and rendered the datatable with a subrequest.
Thanks in advance!