Do you not know how functions work? A function often returns a value to whatever called it. Perhaps go relearn your PHP. Seriously. If you do not understand function return values, you really shouldn't be trying to optimise your development with an MVC framework. You have bigger problems.
On Thu, May 12, 2011 at 11:41 AM, absdv <arnob...@sdv.fr> wrote: > If I add return; it doesn't change a thing. > If I add return true; or return new Response('');, I get : > The controller must return a response ('1' given). > > -- > 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 > -- Gareth McCumskey http://garethmccumskey.blogspot.com twitter: @garethmcc identi.ca: @garethmcc -- 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