Update AbstractTemplateView.php