Skip to content

Commit

Permalink
version 0.1.4, fix: mass action
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasAndersen committed Jan 21, 2016
1 parent 75ba504 commit 865cc95
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public function execute()
$model->setStoreViewId($storeViewId)->load($id);
if (!$model->getId()) {
$this->messageManager->addError(__('This banner no longer exists.'));
$resultRedirect = $this->_resultRedirectFactory->create();
$resultRedirect = $this->resultRedirectFactory->create();

return $resultRedirect->setPath('*/*/');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function execute()
$this->messageManager->addError($e->getMessage());
}
}
$resultRedirect = $this->_resultRedirectFactory->create();
$resultRedirect = $this->resultRedirectFactory->create();

return $resultRedirect->setPath('*/*/');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public function execute()
$this->messageManager->addError($e->getMessage());
}
}
$resultRedirect = $this->_resultRedirectFactory->create();
$resultRedirect = $this->resultRedirectFactory->create();

return $resultRedirect->setPath('*/*/', ['store' => $this->getRequest()->getParam('store')]);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function execute()
if (!$model->getId()) {
$this->messageManager->addError(__('This slider no longer exists.'));

$resultRedirect = $this->_resultRedirectFactory->create();
$resultRedirect = $this->resultRedirectFactory->create();

return $resultRedirect->setPath('*/*/');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function execute()
$this->messageManager->addError($e->getMessage());
}
}
$resultRedirect = $this->_resultRedirectFactory->create();
$resultRedirect = $this->resultRedirectFactory->create();

return $resultRedirect->setPath('*/*/');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function execute()
$this->messageManager->addError($e->getMessage());
}
}
$resultRedirect = $this->_resultRedirectFactory->create();
$resultRedirect = $this->resultRedirectFactory->create();

return $resultRedirect->setPath('*/*/');
}
Expand Down
6 changes: 3 additions & 3 deletions app/code/Magestore/Bannerslider/composer.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "magestore/Bannerslider-Magento2",
"name": "magestore/module-bannerslider",
"description": "N/A",
"require": {
"php": "~5.5.0|~5.6.0|~7.0.0",
"magento/framework": "100.0.*",
"magento/framework": "1.0.0-beta",
"lib-libxml": "*"
},
"type": "magento2-module",
Expand All @@ -18,4 +18,4 @@
"Magestore\\Bannerslider\\": ""
}
}
}
}
2 changes: 1 addition & 1 deletion app/code/Magestore/Bannerslider/etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="Magestore_Bannerslider" setup_version="0.1.3"/>
<module name="Magestore_Bannerslider" setup_version="0.1.4"/>
</config>

0 comments on commit 865cc95

Please sign in to comment.