Commit db61885e by Qiang Xue

Fixes issue #201.

parent 0d814fa5
...@@ -203,7 +203,7 @@ class Controller extends Component ...@@ -203,7 +203,7 @@ class Controller extends Component
public function forward($route, $params = array()) public function forward($route, $params = array())
{ {
$status = $this->run($route, $params); $status = $this->run($route, $params);
exit($status); Yii::$app->end($status);
} }
/** /**
......
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