You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2019/06/12 14:28:38 UTC
[ambari] branch branch-2.7 updated: AMBARI-25303 Cluster
Information Page URL is broken. (ababiichuk)
This is an automated email from the ASF dual-hosted git repository.
ababiichuk pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-2.7 by this push:
new 89de628 AMBARI-25303 Cluster Information Page URL is broken. (ababiichuk)
89de628 is described below
commit 89de628d0f3f280f181e270e6e0545c05d579194
Author: ababiichuk <ab...@hortonworks.com>
AuthorDate: Wed Jun 12 16:31:56 2019 +0300
AMBARI-25303 Cluster Information Page URL is broken. (ababiichuk)
---
ambari-admin/src/main/resources/ui/admin-web/app/scripts/routes.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ambari-admin/src/main/resources/ui/admin-web/app/scripts/routes.js b/ambari-admin/src/main/resources/ui/admin-web/app/scripts/routes.js
index c8d0e96..bb1f447 100644
--- a/ambari-admin/src/main/resources/ui/admin-web/app/scripts/routes.js
+++ b/ambari-admin/src/main/resources/ui/admin-web/app/scripts/routes.js
@@ -157,7 +157,9 @@ angular.module('ambariAdminConsole')
var rootUrl = ROUTES['clusters']['clusterInformation'].url;
angular.forEach(ROUTES, createRoute);
$routeProvider.otherwise({
- redirectTo: rootUrl
+ redirectTo: function () {
+ return rootUrl;
+ }
});
}])
.run(['$rootScope', 'ROUTES', 'Settings', function ($rootScope, ROUTES, Settings) {