Skip to content

Commit 95bc002

Browse files
ENGCOM-4110: Fixed redirection issue in Admin-> Content -> Schedule #20967
- Merge Pull Request #20967 from dominicfernando/magento2:redirect-issue-content-schedule - Merged commits: 1. de694d4
2 parents 8dfe26a + de694d4 commit 95bc002

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/Backend/Controller/Adminhtml/System/Design

1 file changed

+2
-2
lines changed

app/code/Magento/Backend/Controller/Adminhtml/System/Design/Save.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,10 @@ public function execute()
5454
} catch (\Exception $e) {
5555
$this->messageManager->addErrorMessage($e->getMessage());
5656
$this->_objectManager->get(\Magento\Backend\Model\Session::class)->setDesignData($data);
57-
return $resultRedirect->setPath('adminhtml/*/', ['id' => $design->getId()]);
57+
return $resultRedirect->setPath('*/*/edit', ['id' => $design->getId()]);
5858
}
5959
}
6060

61-
return $resultRedirect->setPath('adminhtml/*/');
61+
return $resultRedirect->setPath('*/*/');
6262
}
6363
}

0 commit comments

Comments
 (0)