We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8e41aaa + cf4beac commit bc37610Copy full SHA for bc37610
src/Template.php
@@ -100,7 +100,7 @@ public function file(): ?string
100
public function getFilename(string $name = null): string
101
{
102
if ($name) {
103
- return $this->templatesPath . "/" . $name . "." . $this->extension();
+ return $this->templatesPath . "/" . $name . "." . ($this->isBlade() ? $this->bladeExtension() : $this->extension());
104
}
105
106
if ($this->isBlade()) {
0 commit comments