diff --git a/VERSION b/VERSION index a00bf2444..1ee76d11b 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v2.0.0-beta3 +v2.0.0-rc1 diff --git a/application/controllers/ConfigController.php b/application/controllers/ConfigController.php index 9d55910e9..0f3d7d1ed 100644 --- a/application/controllers/ConfigController.php +++ b/application/controllers/ConfigController.php @@ -86,12 +86,8 @@ class ConfigController extends Controller if ($this->firstAllowedAction === null) { throw new SecurityException($this->translate('No permission for application configuration')); } - $action = $this->getTabs()->get($this->firstAllowedAction); - if (substr($action->getUrl()->getPath(), 0, 7) === 'config/') { - $this->forward($this->firstAllowedAction); - } else { - $this->redirectNow($action->getUrl()); - } + + $this->redirectNow($this->getTabs()->get($this->firstAllowedAction)->getUrl()); } /** diff --git a/application/controllers/DashboardController.php b/application/controllers/DashboardController.php index 7e4ac479b..b00ddf2b8 100644 --- a/application/controllers/DashboardController.php +++ b/application/controllers/DashboardController.php @@ -1,7 +1,6 @@ isAuthenticated()): ?> -