Skip to content

Commit

Permalink
Added static model names (placeholders). Closes #61. References #11. …
Browse files Browse the repository at this point in the history
…References #15. Closes #33.
  • Loading branch information
toonvandenbos committed Jun 16, 2020
1 parent ecfdec4 commit 8e110fd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Pages/OptionResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

class OptionResource extends StaticResource
{
/**
* The model the resource corresponds to.
*
* @var string
*/
public static $model = 'nova-option';

/**
* Get the URI key for the resource.
*
Expand Down
7 changes: 7 additions & 0 deletions src/Pages/PageResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@

class PageResource extends StaticResource
{
/**
* The model the resource corresponds to.
*
* @var string
*/
public static $model = 'nova-page';

/**
* Get the URI key for the resource.
*
Expand Down

0 comments on commit 8e110fd

Please sign in to comment.