Update controller.rst

Invalid flash example for php template leading to::

FatalErrorException: Error: Call to undefined method Symfony\Bundle\FrameworkBundle\Templating\Helper\SessionHelper::getFlashBag()
Merge pull request #3304 from dczech/patch-1

Update controller.rst