Skip to content

Commit f2188da

Browse files
committed
2 parents 01a6c9e + 110a55b commit f2188da

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 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,7 +149,8 @@ Add the following in your config, in section `components`
149149
3. **View**
150150

151151
Any widget for ajax upload.
152-
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)
153154

154155
### Thumbnails
155156

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

208209
### Save after upload
209210

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

213214
```php
@@ -227,7 +228,7 @@ public function actions()
227228
}
228229
```
229230

230-
### Manually create a file from path
231+
### Manually create a file from a path
231232

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

0 commit comments

Comments
 (0)