Commit 06c09868 by Alexander Makarov

Merge pull request #2366 from dizews/patch-1

Update error.md
parents bd70ac84 07808f8a
...@@ -20,7 +20,7 @@ return [ ...@@ -20,7 +20,7 @@ return [
], ],
``` ```
With that configuration in place, whenever an error occurs, Yii will execute the "error" acction of the "Site" controller. That action should look for an exception and, if present, render the proper view file, passing along the exception: With that configuration in place, whenever an error occurs, Yii will execute the "error" action of the "Site" controller. That action should look for an exception and, if present, render the proper view file, passing along the exception:
```php ```php
public function actionError() public function actionError()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment