AMBARI-7203 Routing from configs to summary page doesn't work. (atkach)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/8ff74259 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/8ff74259 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/8ff74259 Branch: refs/heads/branch-alerts-dev Commit: 8ff74259c3d53484b604db43ce4233aea632e737 Parents: d4a263c Author: atkach <atk...@hortonworks.com> Authored: Mon Sep 8 18:58:01 2014 +0300 Committer: atkach <atk...@hortonworks.com> Committed: Mon Sep 8 18:58:01 2014 +0300 ---------------------------------------------------------------------- ambari-web/app/routes/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/8ff74259/ambari-web/app/routes/main.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/routes/main.js b/ambari-web/app/routes/main.js index 7a39aed..d6521bd 100644 --- a/ambari-web/app/routes/main.js +++ b/ambari-web/app/routes/main.js @@ -539,7 +539,7 @@ module.exports = Em.Route.extend({ route: '/:service_id', connectOutlets: function (router, service) { router.get('mainServiceController').connectOutlet('mainServiceItem', service); - if (service && service.get('routeToConfigs')) { + if (service && router.get('mainServiceItemController').get('routeToConfigs')) { router.transitionTo('configs'); } else { router.transitionTo('summary');