Browse Source

Russian translation: fix markdown syntax of runtime-handling-errors (#16609) [skip ci]

tags/2.0.16
Alexey Pyltsyn 6 years ago committed by Alexander Makarov
parent
commit
b9c4486bd4
  1. 5
      docs/guide-ru/runtime-handling-errors.md

5
docs/guide-ru/runtime-handling-errors.md

@ -114,13 +114,12 @@ class SiteController extends Controller
];
}
}
```
```
Приведённый выше код задаёт действие `error` используя класс [[yii\web\ErrorAction]], который рендерит ошибку используя
отображение `error`.
Вместо использования [[yii\web\ErrorAction]] вы можете создать действие `error` как обычный метод:
```php
public function actionError()

Loading…
Cancel
Save