From 8cd28e343946f0a09c123509efaa9dbd5b80c1b3 Mon Sep 17 00:00:00 2001 From: ADmad Date: Tue, 18 Aug 2015 18:43:51 +0530 Subject: [PATCH] Update to new View class methods --- src/Mailer/Email.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mailer/Email.php b/src/Mailer/Email.php index 41adbb3e888..d70ea741e24 100644 --- a/src/Mailer/Email.php +++ b/src/Mailer/Email.php @@ -1814,7 +1814,7 @@ protected function _renderTemplates($content) $View = $this->createView(); $View->loadHelpers(); - list($templatePlugin) = pluginSplit($View->view()); + list($templatePlugin) = pluginSplit($View->template()); list($layoutPlugin) = pluginSplit($View->layout()); if ($templatePlugin) { $View->plugin = $templatePlugin; @@ -1828,7 +1828,7 @@ protected function _renderTemplates($content) foreach ($types as $type) { $View->hasRendered = false; - $View->viewPath('Email/' . $type); + $View->templatePath('Email/' . $type); $View->layoutPath('Email/' . $type); $render = $View->render();