mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-28 21:25:55 +01:00
26 lines
670 B
JavaScript
26 lines
670 B
JavaScript
(function() {
|
|
|
|
'use strict';
|
|
|
|
angular
|
|
.module('harbor.layout.admin.option')
|
|
.config(routeConfig);
|
|
|
|
function routeConfig($routeProvider) {
|
|
$routeProvider
|
|
.when('/all_user', {
|
|
'templateUrl': '/static/ng/resources/js/layout/user/user.controller.html',
|
|
'controller': 'UserController',
|
|
'controllerAs': 'vm'
|
|
})
|
|
.when('/system_management', {
|
|
'templateUrl': '/static/ng/resources/js/layout/system-management/system-management.controller.html',
|
|
'controller': 'SystemManagementController',
|
|
'controllerAs': 'vm'
|
|
})
|
|
.otherwise({
|
|
'redirectTo': '/'
|
|
});
|
|
}
|
|
|
|
})(); |