Commit 4ee1bc37958b7b07cd1cf032a9383c1f8225109d

Authored by Alexey Boroda
1 parent d938a767

-Before dev

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
controllers/OrderController.php
... ... @@ -237,6 +237,8 @@
237 237 $model->published = false;
238 238 $model->save();
239 239  
  240 + return $this->redirect(['update', 'id' => $model->id]);
  241 +
240 242 $dataProvider = new ActiveDataProvider(
241 243 [
242 244 'query' => $model->getProducts()
... ...