di.xml 1.2 KB

12345678910111213141516171819202122232425
  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
  9. <preference for="Magento\Sales\Controller\AbstractController\OrderLoaderInterface" type="Magento\Sales\Controller\AbstractController\OrderLoader" />
  10. <preference for="Magento\Sales\Controller\AbstractController\OrderViewAuthorizationInterface" type="Magento\Sales\Controller\AbstractController\OrderViewAuthorization" />
  11. <type name="Magento\Framework\Url\SecurityInfo">
  12. <arguments>
  13. <argument name="secureUrlList" xsi:type="array">
  14. <item name="sales" xsi:type="string">/sales/</item>
  15. </argument>
  16. </arguments>
  17. </type>
  18. <type name="Magento\Customer\CustomerData\SectionPoolInterface">
  19. <arguments>
  20. <argument name="sectionSourceMap" xsi:type="array">
  21. <item name="last-ordered-items" xsi:type="string">Magento\Sales\CustomerData\LastOrderedItems</item>
  22. </argument>
  23. </arguments>
  24. </type>
  25. </config>