BpConfigForm: fix redirect url, web2 api changed

This commit is contained in:
Thomas Gelf 2015-10-01 23:08:57 +02:00
parent d3dc969ec3
commit 944fb7741a

View file

@ -152,12 +152,7 @@ class BpConfigForm extends Form
$this->storage->storeProcess($config); $this->storage->storeProcess($config);
$config->clearAppliedChanges(); $config->clearAppliedChanges();
$this->setRedirectUrl( $this->getRedirectUrl()->setParam('config', $name);
Url::fromPath(
$this->getRedirectUrl(),
array('config' => $name)
)
);
Notification::success(sprintf('Process %s has been stored', $name)); Notification::success(sprintf('Process %s has been stored', $name));
} }
} }