1234567891011121314151617181920212223242526272829303132 |
- <?php
- /**
- *
- * Copyright © Magento, Inc. All rights reserved.
- * See COPYING.txt for license details.
- */
- namespace Magento\Shipping\Controller\Adminhtml\Order\Shipment;
- use Magento\Framework\App\Action\HttpGetActionInterface as HttpGetActionInterface;
- class Start extends \Magento\Backend\App\Action implements HttpGetActionInterface
- {
- /**
- * Authorization level of a basic admin session
- *
- * @see _isAllowed()
- */
- const ADMIN_RESOURCE = 'Magento_Sales::shipment';
- /**
- * Start create shipment action
- *
- * @return void
- */
- public function execute()
- {
- /**
- * Clear old values for shipment qty's
- */
- $this->_redirect('*/*/new', ['order_id' => $this->getRequest()->getParam('order_id')]);
- }
- }
|