Skip to content

Commit b6d62f5

Browse files
author
Dmytro Poperechnyy
committed
MAGETWO-26762: Default Exception Handler for Controllers
- Added getDefaultRedirect method to Noroute class;
1 parent a395799 commit b6d62f5

File tree

1 file changed

+9
-0
lines changed
  • dev/tests/integration/testsuite/Magento/TestFixture/Controller/Adminhtml

1 file changed

+9
-0
lines changed

dev/tests/integration/testsuite/Magento/TestFixture/Controller/Adminhtml/Noroute.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,13 @@ public function dispatch(RequestInterface $request)
3535
public function getResponse()
3636
{
3737
}
38+
39+
/**
40+
* Get default redirect object
41+
*
42+
* @return \Magento\Framework\Controller\Result\Redirect
43+
*/
44+
public function getDefaultRedirect()
45+
{
46+
}
3847
}

0 commit comments

Comments
 (0)