mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-13 20:59:12 +08:00
add missing return to module template
I think according to the framework it should return the render and otherwise the browser will stay blank...
This commit is contained in:
@@ -16,6 +16,6 @@ class DefaultController extends Controller
|
||||
{
|
||||
public function actionIndex()
|
||||
{
|
||||
$this->render('index');
|
||||
return $this->render('index');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user