Navigation Menu

Skip to content

Commit

Permalink
Update to new View class methods
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Aug 18, 2015
1 parent b71dd88 commit 8cd28e3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mailer/Email.php
Expand Up @@ -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;
Expand All @@ -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();
Expand Down

0 comments on commit 8cd28e3

Please sign in to comment.