Skip to content

Commit

Permalink
fix mass delete
Browse files Browse the repository at this point in the history
  • Loading branch information
luckyraul committed Oct 22, 2019
1 parent 3e3a58c commit da526bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Jeeves/Generators/Crud/AdminController.php
Original file line number Diff line number Diff line change
Expand Up @@ -405,6 +405,7 @@ public function genAdminMassController(
$rootNamespace
) {
$namespace = new PhpNamespace($rootNamespace . '\Controller\Adminhtml\\' . $entity);
$namespace->addUse('Magento\Framework\Controller\ResultFactory');
$class = $namespace->addClass($className)
->setExtends($rootNamespace . '\Controller\Adminhtml\\' . $entity);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace Mygento\SampleModule\Controller\Adminhtml\CustomerAddress;

use Magento\Framework\Controller\ResultFactory;

class MassDelete extends \Mygento\SampleModule\Controller\Adminhtml\CustomerAddress
{
/** @var \Magento\Ui\Component\MassAction\Filter */
Expand Down

0 comments on commit da526bc

Please sign in to comment.