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 <ababiic...@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) {