Skip to content

Commit 440c298

Browse files
authored
Merge pull request #26938 from driesvints/rename-markdown-directory
[5.8] Rename markdown mail folder to text
2 parents f95dfb4 + 7efe1b6 commit 440c298

File tree

12 files changed

+6
-6
lines changed

12 files changed

+6
-6
lines changed

src/Illuminate/Mail/Markdown.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function render($view, array $data = [], $inliner = null)
6666
}
6767

6868
/**
69-
* Render the Markdown template into HTML.
69+
* Render the Markdown template into text.
7070
*
7171
* @param string $view
7272
* @param array $data
@@ -77,7 +77,7 @@ public function renderText($view, array $data = [])
7777
$this->view->flushFinderCache();
7878

7979
$contents = $this->view->replaceNamespace(
80-
'mail', $this->markdownComponentPaths()
80+
'mail', $this->textComponentPaths()
8181
)->make($view, $data)->render();
8282

8383
return new HtmlString(
@@ -111,14 +111,14 @@ public function htmlComponentPaths()
111111
}
112112

113113
/**
114-
* Get the Markdown component paths.
114+
* Get the text component paths.
115115
*
116116
* @return array
117117
*/
118-
public function markdownComponentPaths()
118+
public function textComponentPaths()
119119
{
120120
return array_map(function ($path) {
121-
return $path.'/markdown';
121+
return $path.'/text';
122122
}, $this->componentPaths());
123123
}
124124

0 commit comments

Comments
 (0)