Skip to content

Commit

Permalink
Update resources.md
Browse files Browse the repository at this point in the history
  • Loading branch information
hans-thomas committed Jan 21, 2025
1 parent b4a551a commit 744236c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/docs/Basics/resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ classes but there are more features! </br>
You can create resource classes on your own or just using our
[resources command](commands.md#resources).

## ValravnJsonResource
## VJsonResource

it's same as `JsonResource` class on laravel. to start using this, first you
need to create resource class which should see something like this.
Expand Down Expand Up @@ -37,7 +37,7 @@ You can specify the model's attributes in `extract` method that you wand to see
in response. the `type` method determines related entity on this response for
the front-end dev.

## ValravnResourceCollection
## VResourceCollection

The resource collection class is the same as `ValravnJsonResource`.

Expand Down

0 comments on commit 744236c

Please sign in to comment.