Update render for 2.2

In symfony 2.2 rendering of controlers changed so this is a fix for that.
It should remain 2.1 compatible