Browse Source

minor fix to gii

tags/2.0.0-beta
Qiang Xue 11 years ago
parent
commit
4b49a31f57
  1. 1
      extensions/gii/generators/crud/templates/controller.php

1
extensions/gii/generators/crud/templates/controller.php

@ -28,7 +28,6 @@ namespace <?= StringHelper::dirname(ltrim($generator->controllerClass, '\\')) ?>
use <?= ltrim($generator->modelClass, '\\') ?>;
use <?= ltrim($generator->searchModelClass, '\\') ?><?php if (isset($searchModelAlias)):?> as <?= $searchModelAlias ?><?php endif ?>;
use yii\data\ActiveDataProvider;
use <?= ltrim($generator->baseControllerClass, '\\') ?>;
use yii\web\HttpException;
use yii\web\VerbFilter;

Loading…
Cancel
Save