Skip to content

Commit 360db86

Browse files
committed
Fix broken links
1 parent 034391d commit 360db86

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

docs/fields.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ for all of the buffered posts at once.
170170
## Writing
171171

172172
By default, fields are read-only. You can allow a field to be written to in the
173-
[Create](endpoints/create) and [Update](endpoints/update) endpoints using the
174-
`writable` and `readonly` methods.
173+
[Create](create.md) and [Update](update.md) endpoints using the `writable` and
174+
`readonly` methods.
175175

176176
You can optionally supply a closure to these methods which will receive the
177177
model instance, and should return a boolean value.
@@ -274,7 +274,7 @@ component for field validation with the
274274

275275
By default, the value provided for each field will be set to the model using the
276276
`setValue` method on your resource (which must be implemented as part of the
277-
[Create](endpoints/create.md) and [Update](endpoints/update.md) endpoints).
277+
[Create](create.md) and [Update](update.md) endpoints).
278278

279279
If you would like to define custom hydration logic for a specific field, use the
280280
`set` method:

docs/resources.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -121,13 +121,13 @@ these endpoints requires the implementation of an interface on your resource
121121
class to define the behavior of how the endpoint should interact with your
122122
storage.
123123

124-
| Method | URI | Endpoint | Interface |
125-
| ------ | ------------- | ----------------------------- | ---------------------------------------- |
126-
| GET | `/users` | [Index](endpoints/index.md) | `Tobyz\JsonApiServer\Resource\Listable` |
127-
| POST | `/users` | [Create](endpoints/create.md) | `Tobyz\JsonApiServer\Resource\Creatable` |
128-
| GET | `/users/{id}` | [Show](endpoints/show.md) | `Tobyz\JsonApiServer\Resource\Findable` |
129-
| PATCH | `/users/{id}` | [Update](endpoints/update.md) | `Tobyz\JsonApiServer\Resource\Updatable` |
130-
| DELETE | `/users/{id}` | [Delete](endpoints/delete.md) | `Tobyz\JsonApiServer\Resource\Deletable` |
124+
| Method | URI | Endpoint | Interface |
125+
| ------ | ------------- | ------------------- | ---------------------------------------- |
126+
| GET | `/users` | [Index](index.md) | `Tobyz\JsonApiServer\Resource\Listable` |
127+
| POST | `/users` | [Create](create.md) | `Tobyz\JsonApiServer\Resource\Creatable` |
128+
| GET | `/users/{id}` | [Show](show.md) | `Tobyz\JsonApiServer\Resource\Findable` |
129+
| PATCH | `/users/{id}` | [Update](update.md) | `Tobyz\JsonApiServer\Resource\Updatable` |
130+
| DELETE | `/users/{id}` | [Delete](delete.md) | `Tobyz\JsonApiServer\Resource\Deletable` |
131131

132132
::: tip Laravel Integration
133133
For Laravel applications with Eloquent-backed resources, you can extend the

0 commit comments

Comments
 (0)