Skip to content

Commit ad381ef

Browse files
committed
Directly return result redirect object
1 parent 2da0d9d commit ad381ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Indexer/Controller/Adminhtml/Indexer/MassInvalidate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,6 @@ public function execute()
5555
);
5656
}
5757
}
58-
$this->_redirect('*/*/list');
58+
return $this->resultRedirectFactory->create()->setPath('*/*/list');
5959
}
6060
}

0 commit comments

Comments
 (0)