Skip to content

Commit 4a9aa9e

Browse files
authored
Update README.md
1 parent e087061 commit 4a9aa9e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ If we assume that a `BlogPost` model has a one-to-many relationship with `Image`
2323

2424
```php
2525
namespace App\Nova;
26+
use Laravel\Nova\Fields\Image;
2627

2728
class BlogPost extends Resource
2829
{
@@ -37,7 +38,7 @@ class BlogPost extends Resource
3738
}
3839
}
3940
```
40-
**_NOTE:_** You will need to add a Nova Resource for `Image` - all of the fields and rules will be retrieved from the specified resource. You must specify the resource as the third argument to the Relationship field.
41+
**_NOTE:_** You will need to add a Nova Resource for `Image` - all of the fields and rules will be retrieved from the specified resource. You must specify the resource as the third argument to the Relationship field as illustrated above.
4142

4243
## Adding related models
4344

@@ -61,7 +62,7 @@ You can also update, re-arrange (for one-to-many relationships), and delete rela
6162

6263
## Supported Relationships
6364

64-
The following eloquent relationships are currently support with plans to add additional ones in the future:
65+
The following eloquent relationships are currently supported:
6566

6667
- BelongsTo
6768
- HasOne

0 commit comments

Comments
 (0)