Commit 9dbf4d74 by Paul Klimov

Mailer default view class changed to "yii\web\View".

parent f77a0472
......@@ -100,7 +100,7 @@ abstract class BaseMailer extends Component implements MailerInterface, ViewCont
protected function createView(array $config)
{
if (!array_key_exists('class', $config)) {
$config['class'] = '\yii\base\View';
$config['class'] = 'yii\web\View';
}
return Yii::createObject($config);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment