Skip to content
This repository has been archived by the owner on Aug 22, 2022. It is now read-only.

Commit

Permalink
Fix isBlade() method
Browse files Browse the repository at this point in the history
  • Loading branch information
afbora committed Nov 5, 2019
1 parent 3979766 commit da40a63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"template",
"template-engine"
],
"version": "1.5.1",
"version": "1.5.2",
"type": "kirby-plugin",
"license": "MIT",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion src/Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public function render(array $data = []): string

public function isBlade()
{
return !file_exists($this->getPathTemplates() . "/" . $this->name() . "." . $this->bladeExtension());
return file_exists($this->getPathTemplates() . "/" . $this->name() . "." . $this->bladeExtension());
}

public function bladeExtension(): string
Expand Down

0 comments on commit da40a63

Please sign in to comment.