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:
Alec Pritchard
2018-05-01 12:17:43 +01:00
parent bc438974f0
commit a604abb018
13 changed files with 13 additions and 13 deletions

View File

@ -23,7 +23,7 @@ $this->params['breadcrumbs'][] = $this->title;
<?php $this->beginContent('@Da/User/resources/views/shared/admin_layout.php') ?>
<?= $this->render(
'_form',
'/permission/_form',
[
'model' => $model,
'unassignedItems' => $unassignedItems,