Skip to content

Commit 3e4b8ef

Browse files
author
David Polynar
authored
Update Mailable.php (#163)
1 parent e99c7e1 commit 3e4b8ef

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/Mail/Mailable.php

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,7 @@ protected function buildView()
6060
if (isset($this->mjml) || isset($this->mjmlContent)) {
6161
return $this->buildMjmlView();
6262
}
63-
if (isset($this->markdown)) {
64-
return $this->buildMarkdownView();
65-
}
66-
if (isset($this->view, $this->textView)) {
67-
return [$this->view, $this->textView];
68-
} elseif (isset($this->textView)) {
69-
return ['text' => $this->textView];
70-
}
71-
72-
return $this->view;
63+
return parent::buildView();
7364
}
7465

7566
/**

0 commit comments

Comments
 (0)