The same way you do it in the action. Actually putting controller code in the view is not recommended, better use a component or something else for this.
gabriel On Jul 5, 1:13 am, Ricardo Jose Guzman Milanes <guzman.ricardoj...@gmail.com> wrote: > Thanks for the link Gabriel! > > But, how can I call that from the templates? > Thanks! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en