fix render for Symfony 2.2
Merge pull request #56 from SweepingDesign/master

fix rendering for sf 2.2