Skip to content

Commit

Permalink
Minor documentation fixes (#128)
Browse files Browse the repository at this point in the history
  • Loading branch information
vova07 authored Mar 19, 2018
1 parent 45eec82 commit c227eb5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 10 deletions.
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

All notable changes to `yii2-imperavi-widget` will be documented in this file.

## 2.0.2

### Changed
- Minor documentation fixes

## 2.0.1

### Changed
Expand All @@ -16,7 +21,7 @@ All notable changes to `yii2-imperavi-widget` will be documented in this file.
- Fix numerous bugs and issue related with the redactor wrapper. (vova07)
- Rewrite tests and fix travis suites. (vova07)
- Replace `UploadAction` with `UploadFileAction`. (vova07)
- Replace `GetAction` with two new actions: `GetFilesActions` and `GetImagesActions`. (vova07)
- Replace `GetAction` with two new actions: `GetFilesAction` and `GetImagesAction`. (vova07)
- Add delete files functionality to `file manager`. (vova07)
- Add delete images functionality to `image manager`. (vova07)
- Add `translit` support to `UploadFileAction`. (vova07)
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public function actions()
{
return [
'file-upload' => [
'class' => 'vova07\imperavi\actions\UploadAction',
'class' => 'vova07\imperavi\actions\UploadFileAction',
'url' => 'http://my-site.com/files/', // Directory URL address, where files are stored.
'path' => '@alias/to/my/path', // Or absolute path to directory where files are stored.
'uploadOnlyImage' => false, // For any kind of files uploading.
Expand Down Expand Up @@ -214,7 +214,7 @@ public function actions()
{
return [
'file-upload' => [
'class' => 'vova07\imperavi\actions\UploadAction',
'class' => 'vova07\imperavi\actions\UploadFileAction',
'url' => 'http://my-site.com/files/', // Directory URL address, where files are stored.
'path' => '@alias/to/my/path', // Or absolute path to directory where files are stored.
'uploadOnlyImage' => false, // For any kind of files uploading.
Expand Down Expand Up @@ -246,7 +246,7 @@ public function actions()
{
return [
'file-upload' => [
'class' => 'vova07\imperavi\actions\UploadAction',
'class' => 'vova07\imperavi\actions\UploadFileAction',
'url' => 'http://my-site.com/files/', // Directory URL address, where files are stored.
'path' => '@alias/to/my/path', // Or absolute path to directory where files are stored.
'uploadOnlyImage' => false, // For any kind of files uploading.
Expand Down Expand Up @@ -343,7 +343,7 @@ public function actions()
'path' => '@alias/to/my/path', // Or absolute path to directory where files are stored.
],
'file-upload' => [
'class' => 'vova07\imperavi\actions\UploadAction',
'class' => 'vova07\imperavi\actions\UploadFileAction',
'url' => 'http://my-site.com/files/', // Directory URL address, where files are stored.
'path' => '@alias/to/my/path', // Or absolute path to directory where files are stored.
'uploadOnlyImage' => false, // For any kind of files uploading.
Expand Down
8 changes: 4 additions & 4 deletions README_RU.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public function actions()
{
return [
'file-upload' => [
'class' => 'vova07\imperavi\actions\UploadAction',
'class' => 'vova07\imperavi\actions\UploadFileAction',
'url' => 'http://my-site.com/files/', // Directory URL address, where files are stored.
'path' => '@alias/to/my/path', // Or absolute path to directory where files are stored.
'uploadOnlyImage' => false, // For any kind of files uploading.
Expand Down Expand Up @@ -215,7 +215,7 @@ public function actions()
{
return [
'file-upload' => [
'class' => 'vova07\imperavi\actions\UploadAction',
'class' => 'vova07\imperavi\actions\UploadFileAction',
'url' => 'http://my-site.com/files/', // Directory URL address, where files are stored.
'path' => '@alias/to/my/path', // Or absolute path to directory where files are stored.
'uploadOnlyImage' => false, // For any kind of files uploading.
Expand Down Expand Up @@ -247,7 +247,7 @@ public function actions()
{
return [
'file-upload' => [
'class' => 'vova07\imperavi\actions\UploadAction',
'class' => 'vova07\imperavi\actions\UploadFileAction',
'url' => 'http://my-site.com/files/', // Directory URL address, where files are stored.
'path' => '@alias/to/my/path', // Or absolute path to directory where files are stored.
'uploadOnlyImage' => false, // For any kind of files uploading.
Expand Down Expand Up @@ -344,7 +344,7 @@ public function actions()
'path' => '@alias/to/my/path', // Or absolute path to directory where files are stored.
],
'file-upload' => [
'class' => 'vova07\imperavi\actions\UploadAction',
'class' => 'vova07\imperavi\actions\UploadFileAction',
'url' => 'http://my-site.com/files/', // Directory URL address, where files are stored.
'path' => '@alias/to/my/path', // Or absolute path to directory where files are stored.
'uploadOnlyImage' => false, // For any kind of files uploading.
Expand Down
2 changes: 1 addition & 1 deletion UPGRADE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Upgrade guide from version `1.*` to `2.*`

- Replace any `UploadAction` entry with new `UploadFileAction` instance.
- Replace `GetAction` with one of appropriate new actions `GetFilesActions` for file uploading or `GetImagesActions` for image uploading.
- Replace `GetAction` with one of appropriate new actions `GetFilesAction` for file uploading or `GetImagesAction` for image uploading.

**Please read the documentation to get in touch with new futures**

0 comments on commit c227eb5

Please sign in to comment.