Skip to content

Commit

Permalink
🐛 models were not loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
bnomei committed Sep 8, 2021
1 parent 7e4a500 commit 139ddc0
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 13 deletions.
1 change: 1 addition & 0 deletions classes/Autoloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ private function registry(string $type): array
});
$map = array_flip($map);
$this->load($map, $this->options['dir'] . '/' . $options['folder']);
unset($this->registry[$type]['map']);
}

return $this->registry[$type];
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bnomei/autoloader-for-kirby",
"type": "project",
"version": "1.2.6",
"version": "1.2.7",
"license": "MIT",
"description": "Helper to automatically load various Kirby extensions in a plugin",
"authors": [
Expand Down
17 changes: 9 additions & 8 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions vendor/composer/installed.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php return array(
'root' => array(
'pretty_version' => '1.2.6',
'version' => '1.2.6.0',
'pretty_version' => '1.2.7',
'version' => '1.2.7.0',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand All @@ -11,8 +11,8 @@
),
'versions' => array(
'bnomei/autoloader-for-kirby' => array(
'pretty_version' => '1.2.6',
'version' => '1.2.6.0',
'pretty_version' => '1.2.7',
'version' => '1.2.7.0',
'type' => 'project',
'install_path' => __DIR__ . '/../../',
'aliases' => array(),
Expand Down

0 comments on commit 139ddc0

Please sign in to comment.