Index.php 652 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. *
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. namespace Magento\CatalogRule\Controller\Adminhtml\Promo;
  8. class Index extends \Magento\Backend\App\Action
  9. {
  10. /**
  11. * Authorization level of a basic admin session
  12. *
  13. * @see _isAllowed()
  14. */
  15. const ADMIN_RESOURCE = 'Magento_CatalogRule::promo';
  16. /**
  17. * @return void
  18. */
  19. public function execute()
  20. {
  21. $this->_view->loadLayout();
  22. $this->_setActiveMenu('Magento_CatalogRule::promo');
  23. $this->_addBreadcrumb(__('Promotions'), __('Promo'));
  24. $this->_view->renderLayout();
  25. }
  26. }