how to enable layout in XmlHttpReeuqest in symfony

Posted by celalo on Stack Overflow See other posts from Stack Overflow or by celalo
Published on 2010-05-26T00:45:39Z Indexed on 2010/05/26 0:51 UTC
Read the original article Hit count: 414

Filed under:

Symfony detects if it receives a XmlHttpRequest and automatically turns off your debug bar and layout. However I'd like to have the response decorated with a specified layout. Also I don't want to add custom line of code in the [FONT=Courier]action[/FONT] to enable the layout, I wish I can just make a configuration through yml files.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about symfony