GUAC-1126: Re-route user within route config.
This commit is contained in:
1 parent
ca8379d938
commit
8ead3a9d81
3 files changed
+54
-11
No files matched your search
@@ -32,7 +32,6 @@ angular.module('home').controller('homeController', ['$scope', '$injector',
|
||||
// Get required services
|
||||
var authenticationService = $injector.get("authenticationService");
|
||||
var connectionGroupService = $injector.get("connectionGroupService");
|
||||
var userPageService = $injector.get("userPageService");
|
||||
|
||||
/**
|
||||
* The root connection group, or null if the connection group hierarchy has
|
||||
@@ -61,10 +60,4 @@ angular.module('home').controller('homeController', ['$scope', '$injector',
|
||||
$scope.rootConnectionGroup = rootConnectionGroup;
|
||||
});
|
||||
|
||||
// Navigate to home page, if not already there
|
||||
userPageService.getHomePage()
|
||||
.then(function homePageRetrieved(homePage) {
|
||||
$location.url(homePage.url);
|
||||
});
|
||||
|
||||
}]);
|
||||
Reference in new issue
Block a user