Skip to content

Commit

Permalink
fix: remove unnecessary model type declaration to prevent panel excep…
Browse files Browse the repository at this point in the history
…tions

Closes #10
  • Loading branch information
Steffen Giers committed Jan 26, 2020
1 parent 5a191a3 commit 00adf7f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
'models' => [
// a camelCased model name results in Kirby\Exception\NotFoundException
'simplepagemodel' => [
'type' => 'Kirby\Cms\Page',
'fields' => [
'id' => function ($page) {
return $page->id();
Expand Down

0 comments on commit 00adf7f

Please sign in to comment.