mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-18 15:31:06 +08:00
remove ajax from controller
This commit is contained in:
@@ -8,7 +8,6 @@
|
|||||||
namespace yii\gii\controllers;
|
namespace yii\gii\controllers;
|
||||||
|
|
||||||
use Yii;
|
use Yii;
|
||||||
use yii\helpers\Inflector;
|
|
||||||
use yii\web\Controller;
|
use yii\web\Controller;
|
||||||
use yii\web\NotFoundHttpException;
|
use yii\web\NotFoundHttpException;
|
||||||
|
|
||||||
@@ -127,12 +126,4 @@ class DefaultController extends Controller
|
|||||||
throw new NotFoundHttpException("Code generator not found: $id");
|
throw new NotFoundHttpException("Code generator not found: $id");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @param string $tableName
|
|
||||||
* @return string
|
|
||||||
*/
|
|
||||||
public function actionClassify($tableName){
|
|
||||||
return Inflector::classify($tableName);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user