Skip to content

Commit bc37610

Browse files
authored
Merge pull request #6 from lukasleitsch/fabianmichael-patch-1
Enable blade template for content representations
2 parents 8e41aaa + cf4beac commit bc37610

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public function file(): ?string
100100
public function getFilename(string $name = null): string
101101
{
102102
if ($name) {
103-
return $this->templatesPath . "/" . $name . "." . $this->extension();
103+
return $this->templatesPath . "/" . $name . "." . ($this->isBlade() ? $this->bladeExtension() : $this->extension());
104104
}
105105

106106
if ($this->isBlade()) {

0 commit comments

Comments
 (0)