diff --git a/GiiController.php b/GiiController.php index fbab521..c989c90 100644 --- a/GiiController.php +++ b/GiiController.php @@ -68,7 +68,7 @@ namespace {$namespace}; } } else { $import = "use Exception; -use App\Form\\{$managerName}Form; +use " . (str_replace('Controller', 'Form', $namespace)) . "\\{$managerName}Form; use Kiri\Core\Str; use Kiri\Core\Json; use Kiri\Router\Base\Controller;