File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
app/code/Magento/Backend/Controller/Adminhtml/System/Design Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 66 */
77namespace Magento \Backend \Controller \Adminhtml \System \Design ;
88
9+ /**
10+ * Save design action.
11+ */
912class Save extends \Magento \Backend \Controller \Adminhtml \System \Design
1013{
1114 /**
@@ -26,6 +29,8 @@ protected function _filterPostData($data)
2629 }
2730
2831 /**
32+ * Save design action.
33+ *
2934 * @return \Magento\Backend\Model\View\Result\Redirect
3035 */
3136 public function execute ()
@@ -54,10 +59,10 @@ public function execute()
5459 } catch (\Exception $ e ) {
5560 $ this ->messageManager ->addErrorMessage ($ e ->getMessage ());
5661 $ this ->_objectManager ->get (\Magento \Backend \Model \Session::class)->setDesignData ($ data );
57- return $ resultRedirect ->setPath ('adminhtml /*/ ' , ['id ' => $ design ->getId ()]);
62+ return $ resultRedirect ->setPath ('* /*/edit ' , ['id ' => $ design ->getId ()]);
5863 }
5964 }
6065
61- return $ resultRedirect ->setPath ('adminhtml /*/ ' );
66+ return $ resultRedirect ->setPath ('* /*/ ' );
6267 }
6368}
You can’t perform that action at this time.
0 commit comments