Skip to content

Commit

Permalink
Fix ACL issue
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwi-commerce committed Jun 4, 2018
1 parent 7a9fdc7 commit ef41396
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Controller/Adminhtml/Activity/Index.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Index extends Action
/**
* @var string
*/
const ADMIN_RESOURCE = 'KiwiCommerce_AdminActivity::adminactivity';
const ADMIN_RESOURCE = 'KiwiCommerce_AdminActivity::activity';

/**
* @var PageFactory
Expand Down Expand Up @@ -54,7 +54,7 @@ public function execute()
{
/** @var \Magento\Backend\Model\View\Result\Page $resultPage */
$resultPage = $this->resultPageFactory->create();
$resultPage->setActiveMenu('KiwiCommerce_AdminActivity::adminactivity');
$resultPage->setActiveMenu('KiwiCommerce_AdminActivity::activity');
$resultPage->addBreadcrumb(__('KiwiCommerce'), __('Admin Activity'));
$resultPage->getConfig()->getTitle()->prepend(__('Admin Activity'));

Expand Down
2 changes: 1 addition & 1 deletion etc/module.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
<module name="KiwiCommerce_AdminActivity" setup_version="1.0.0"/>
<module name="KiwiCommerce_AdminActivity" setup_version="1.0.1"/>
</config>

0 comments on commit ef41396

Please sign in to comment.