Skip to content

Commit

Permalink
Merge pull request #180 from magento-firedrakes/MAGETWO-35367
Browse files Browse the repository at this point in the history
[Firedrakes] Bug fix MAGETWO-35367
  • Loading branch information
Logvin, Michael(mlogvin) committed Mar 20, 2015
2 parents c0eef7c + 767ea1d commit 124e8db
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
15 changes: 15 additions & 0 deletions app/code/Magento/Sales/Controller/Guest/PrintAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,21 @@
*/
namespace Magento\Sales\Controller\Guest;

use Magento\Framework\App\Action\Context;
use Magento\Framework\View\Result\PageFactory;

class PrintAction extends \Magento\Sales\Controller\AbstractController\PrintAction
{
/**
* @param Context $context
* @param OrderLoader $orderLoader
* @param PageFactory $resultPageFactory
*/
public function __construct(
Context $context,
\Magento\Sales\Controller\Guest\OrderLoader $orderLoader,
PageFactory $resultPageFactory
) {
parent::__construct($context, $orderLoader, $resultPageFactory);
}
}
17 changes: 17 additions & 0 deletions app/code/Magento/Sales/Controller/Guest/Reorder.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,23 @@
*/
namespace Magento\Sales\Controller\Guest;

use Magento\Framework\App\Action;
use Magento\Framework\Controller\Result\RedirectFactory;

class Reorder extends \Magento\Sales\Controller\AbstractController\Reorder
{
/**
* @param Action\Context $context
* @param \Magento\Sales\Controller\Guest\OrderLoader $orderLoader
* @param \Magento\Framework\Registry $registry
* @param \Magento\Framework\Controller\Result\RedirectFactory $resultRedirectFactory
*/
public function __construct(
Action\Context $context,
\Magento\Sales\Controller\Guest\OrderLoader $orderLoader,
\Magento\Framework\Registry $registry,
RedirectFactory $resultRedirectFactory
) {
parent::__construct($context, $orderLoader, $registry, $resultRedirectFactory);
}
}

0 comments on commit 124e8db

Please sign in to comment.