I can safely say that it isn't supposed to be returning an array, unless it's intended to show that you can't do that kind of thing. All actions have to return a response. And an array isn't a valid response. If you change that to return statement to "return new Response('');" it should work. It won't do anything interesting but it shouldn't result in an exception being thrown. Make sure to include a use statement so PHP knows where to find the Response class.
-- 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