add controller resolve for indexed twig render calls