Skip to content

Commit

Permalink
Fix #500: Fix missing namespace in CRUD index template
Browse files Browse the repository at this point in the history
  • Loading branch information
mohamed-nazim authored Sep 4, 2022
1 parent b786bbb commit 298b8b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Yii Framework 2 gii extension Change Log
2.2.5 under development
-----------------------

- Bug #500: Fix missing namespace in CRUD index template (mohamed-nazim)
- Ehn #489: Added support for the `::class` constant in model generator via the `useClassConstant` setting (rhertogh)
- Bug #502: Setting `skipOnEmpty` to fix "trim(): Passing null to parameter" in `generators/model/Generator.php` (rhertogh)

Expand Down
1 change: 1 addition & 0 deletions src/generators/crud/default/views/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
echo "<?php\n";
?>

use <?= $generator->modelClass ?>;
use yii\helpers\Html;
use yii\helpers\Url;
use yii\grid\ActionColumn;
Expand Down

0 comments on commit 298b8b4

Please sign in to comment.