Commit 31777c92 by Qiang Xue

Fixed render issue.

parent 52a160cb
......@@ -357,7 +357,8 @@ class Controller extends Component
*/
public function renderPartial($view, $params = array())
{
return $this->getView()->render($view, $params, $this);
$viewFile = $this->findViewFile($view);
return $this->getView()->renderFile($viewFile, $params, $this);
}
/**
......
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