mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-01 20:19:42 +08:00
Russian translation: fix markdown syntax of runtime-handling-errors (#16609) [skip ci]
This commit is contained in:
committed by
Alexander Makarov
parent
f69612f792
commit
b9c4486bd4
@ -114,13 +114,12 @@ class SiteController extends Controller
|
||||
];
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
```
|
||||
|
||||
Приведённый выше код задаёт действие `error` используя класс [[yii\web\ErrorAction]], который рендерит ошибку используя
|
||||
отображение `error`.
|
||||
|
||||
Вместо использования [[yii\web\ErrorAction]] вы можете создать действие `error` как обычный метод:
|
||||
|
||||
|
||||
```php
|
||||
public function actionError()
|
||||
|
||||
Reference in New Issue
Block a user