johnitvn / yii2-ajaxcrud

Gii CRUD template for Single Page Ajax Administration for yii2
100 stars 114 forks source link

Referencing ajaxcrudassets #22

Closed xiandalisay closed 9 years ago

xiandalisay commented 9 years ago

I created the CRUD using this module. After, the following error occurred.

capture

johnitvn commented 9 years ago

I don't know why you still get this error. Because it have been fixed in newest version. You can see the index file have line

use johnitvn\ajaxcrudassets\CrudAsset; 

and change it to

use johnitvn\ajaxcrud\CrudAsset; 

See: https://github.com/johnitvn/yii2-ajaxcrud/blob/master/src/generators/default/views/index.php#L21

xiandalisay commented 9 years ago

Before submiting this issue I also tried changing to johnitvn\ajaxcrud\CrudAsset. Still, it does not work.

johnitvn commented 9 years ago

Let try remove and reinstall yii2-ajaxcrud. I think you aren't in right version

xiandalisay commented 9 years ago

Got it.