Redirect after a new resource has been created successfully

refs #5525
This commit is contained in:
Johannes Meyer 2014-08-12 10:42:28 +02:00
parent 4b1169c0a1
commit e6bcda260d
1 changed files with 1 additions and 0 deletions

View File

@ -425,6 +425,7 @@ class ConfigController extends BaseConfigController
$resources[$name] = $config;
if ($this->writeConfigFile($resources, 'resources')) {
$this->addSuccessMessage(sprintf($this->translate('Resource "%s" successfully created.'), $name));
$this->redirectNow('config/resource');
}
}
}