From 3b12bbd8f22196ff5ee894d5b12088f787b93602 Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Sat, 4 May 2013 14:28:09 -0400 Subject: [PATCH] Fixes issue #90 --- framework/base/Widget.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/framework/base/Widget.php b/framework/base/Widget.php index 13e6d30..1aabd4f 100644 --- a/framework/base/Widget.php +++ b/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); } /**