fix redirect
This commit is contained in:
parent
ebb5245fde
commit
8fd6888d18
@ -168,7 +168,7 @@ class ModController extends Controller
|
|||||||
}
|
}
|
||||||
$model->delete();
|
$model->delete();
|
||||||
Yii::$app->getSession()->setFlash('danger', Yii::t('app', 'Mod source could not be found updated so mod was deleted.'));
|
Yii::$app->getSession()->setFlash('danger', Yii::t('app', 'Mod source could not be found updated so mod was deleted.'));
|
||||||
return $this->redirect(['index']);
|
return $this->redirect(Yii::$app->homeUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user