Fixed: Redirect in space security settings

This commit is contained in:
Lucas Bartholemy 2016-06-08 11:41:29 +02:00
parent 52a9fbf53f
commit 07f337a1e3

View File

@ -29,7 +29,7 @@ class SecurityController extends Controller
if ($space->load(Yii::$app->request->post()) && $space->validate() && $space->save()) {
Yii::$app->getSession()->setFlash('data-saved', Yii::t('SpaceModule.controllers_AdminController', 'Saved'));
return $this->redirect($space->createUrl('security'));
return $this->redirect($space->createUrl('index'));
}
return $this->render('index', ['model' => $space]);
}