Changed all calls to View::render() in views to use absolute path within module
Maximises compatibility with view overrides, preventing "View not Found – yii\base\ViewNotFoundException" errors when a view is overridden that contains a call to `View::render()` and a relative path was specified
This commit is contained in:
@ -32,7 +32,7 @@ use yii\helpers\Html;
|
||||
]
|
||||
); ?>
|
||||
|
||||
<?= $this->render('_user', ['form' => $form, 'user' => $user]) ?>
|
||||
<?= $this->render('/admin/_user', ['form' => $form, 'user' => $user]) ?>
|
||||
|
||||
<div class="form-group">
|
||||
<div class="col-lg-offset-3 col-lg-9">
|
||||
|
||||
Reference in New Issue
Block a user