From b9c4486bd432b1fb06366875f6011feb2b3194b8 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Sat, 4 Aug 2018 21:00:15 +0300 Subject: [PATCH] Russian translation: fix markdown syntax of runtime-handling-errors (#16609) [skip ci] --- docs/guide-ru/runtime-handling-errors.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/guide-ru/runtime-handling-errors.md b/docs/guide-ru/runtime-handling-errors.md index 969d1c1..e7dac2a 100644 --- a/docs/guide-ru/runtime-handling-errors.md +++ b/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()