diff --git a/GiiController.php b/GiiController.php index 9e9cab8..27ee3d0 100644 --- a/GiiController.php +++ b/GiiController.php @@ -197,8 +197,6 @@ use {$model_namespace}\\{$managerName}; * @return string * @throws Exception */ - #[Route(uri: "' . $_path . '/add", method: RequestMethod::REQUEST_POST)] - #[Middleware(middleware: [CoreMiddleware::class, OAuthMiddleware::class])] public function actionAdd(): string { $model = new ' . $className . '();