mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-10 07:01:21 +00:00
GUAC-1126: Re-route user within route config.
This commit is contained in:
@@ -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