use slim view instead of calling twig directly.