Browse Source

Fixes issue #90

tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
3b12bbd8f2
  1. 3
      framework/base/Widget.php

3
framework/base/Widget.php

@ -83,7 +83,8 @@ class Widget extends Component
*/
public function render($view, $params = array())
{
return $this->view->render($view, $params, $this);
$viewFile = $this->findViewFile($view);
return $this->view->renderFile($viewFile, $params, $this);
}
/**

Loading…
Cancel
Save