Skip to content

Commit

Permalink
Fallback for modules method
Browse files Browse the repository at this point in the history
  • Loading branch information
medienbaecker committed Nov 4, 2020
1 parent f33b24f commit e65a38e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
if ($modules = $this->find('modules')) {
return $modules->children();
}
return [];
},
'isModule' => function () {
return Str::startsWith($this->intendedTemplate(), 'module.');
Expand Down

0 comments on commit e65a38e

Please sign in to comment.