diff --git a/frontend/controllers/AccountsController.php b/frontend/controllers/AccountsController.php index cca4a57..da9a1f5 100755 --- a/frontend/controllers/AccountsController.php +++ b/frontend/controllers/AccountsController.php @@ -316,8 +316,7 @@ $post = \Yii::$app->request->post(); if($gallery->load($post) && $gallery->save()) { return $this->redirect([ - 'gallery-update', - 'id' => $gallery->gallery_id, + 'gallery', ]); } else { return $this->render('_gallery_form', [ @@ -343,8 +342,7 @@ $post = \Yii::$app->request->post(); if($gallery->load($post) && $gallery->save()) { return $this->redirect([ - 'gallery-update', - 'id' => $gallery->gallery_id, + 'gallery', ]); } else { return $this->render('_gallery_form', [ -- libgit2 0.21.4