Closed WinterSilence closed 3 years ago
please can you review it again and please point me place exactly
@Er-Kalpesh don't understand you
I think we already removed that version, is there any else with the same? @WinterSilence
@Er-Kalpesh you mean yii2-ajaxcrud 3.0? no Also, need update:
default/controller.php
: use $this->request
, $this->asJson()
, in actionBulkdelete()
use <?=$modelClass?>::findAll($pks)
src/Bootstrap.php
must be convert to module:
class AjaxCrudModule extends \yii\base\Module implements BootstrapInterface
{
/**
* Bootstrap method to be called during application bootstrap stage.
*
* @param \yii\web\Application $app the application currently running
*/
public function bootstrap($app)
{
Yii::setAlias("@ensostudio", __DIR__);
Yii::setAlias("@ensostudio/ajaxcrud", __DIR__);
if ($app->hasModule('gii')) {
$app->getModule('gii')->generators['ajaxcrud'] = Generator::class;
}
}
}
please delete this depends
Update code and remove fake version 3.0 from readme