Skip to content

Commit 110a55b

Browse files
committed
Upd README.md
1 parent 4a529bd commit 110a55b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
- Easy setup presets for files
1313
- Ability to use any component for working with images
1414
- Support for multiple file uploads
15-
- Check the Owner of file
15+
- Check the Owner of a file
1616
- Storing information about a file in the database
1717

1818
## Installation
@@ -149,8 +149,8 @@ Add the following in your config, in section `components`
149149
3. **View**
150150

151151
Any widget for ajax upload.
152-
Add file id from response to input for to bind to model.
153-
You can use [widget for FileApi](https://github.com/rkit/fileapi-widget-yii2)
152+
Add file id from a response to input for to bind to model.
153+
You can use [the widget for FileApi](https://github.com/rkit/fileapi-widget-yii2)
154154

155155
### Thumbnails
156156

@@ -208,7 +208,7 @@ Add the following in your config, in section `components`
208208

209209
### Save after upload
210210

211-
For example this could be a need for wysiwyg editor,
211+
For example, this could be a need for wysiwyg editor
212212
when you need to immediately save the file after upload and assign the owner.
213213

214214
```php
@@ -228,7 +228,7 @@ public function actions()
228228
}
229229
```
230230

231-
### Manually create a file from path
231+
### Manually create a file from a path
232232

233233
```php
234234
object Yii::$app->fileManager->create('/path/to/file', $ownerId, $model->getFileOwnerType($attribute), true);

0 commit comments

Comments
 (0)