Skip to content

Commit 58a04b1

Browse files
committed
Update CrudControllerCreator.php
1 parent b196f59 commit 58a04b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Ubiquity/scaffolding/creators/CrudControllerCreator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ protected function addViews(&$messages, &$classContent) {
8686
foreach ( $crudViews as $file ) {
8787
if (isset ( ScaffoldController::$views ['CRUD'] [$file] )) {
8888
$frameworkViewname = ScaffoldController::$views ['CRUD'] [$file];
89-
$this->scaffoldController->createAuthCrudView ( $frameworkViewname, $crudControllerName, $file );
89+
$this->scaffoldController->createAuthCrudView ( $frameworkViewname, $crudControllerName, $file ,$this->useViewInheritance);
9090
$classFilesContent [] = $this->scaffoldController->_createMethod ( 'public', 'getView' . \ucfirst ( $file ), '', '', "\t\treturn \"" . $crudControllerName . "/" . $file . ".html\";" );
9191
}
9292
}

0 commit comments

Comments
 (0)