Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Commit

Permalink
🐛 fixed broken static helpers
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Meilick <b@bnomei.com>
  • Loading branch information
bnomei committed Sep 10, 2019
1 parent e459845 commit 853da79
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
@@ -1,7 +1,7 @@
{
"name": "bnomei/kirby3-handlebars",
"type": "kirby-plugin",
"version": "3.0.5",
"version": "3.0.6",
"license": "MIT",
"description": "Kirby 3 Component for semantic templates with Handlebars and Mustache",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
],
'pageMethods' => [
'handlebars' => function ($template = null, $data = []) {
return \Bnomei\Handlebars::render(
return (new \Bnomei\Handlebars)->render(
$template ?? $this->template(),
$this->controller($data),
null,
Expand Down

0 comments on commit 853da79

Please # to comment.