Skip to content

Commit

Permalink
fix: qualify model type to prevent dialog errors
Browse files Browse the repository at this point in the history
Closes #71
  • Loading branch information
gearsdigital committed Aug 6, 2022
1 parent c45ecd5 commit f307adf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
'api' => [
'models' => [
'simplepagemodel' => [
'type' => 'Page',
'type' => 'Kirby\Cms\Page',
'fields' => [
'id' => function ($page) {
return $page->id();
Expand Down

0 comments on commit f307adf

Please sign in to comment.