Fixing issue with twig rendering of controller actions