Skip to content

Commit 1c96157

Browse files
author
jleveugle
committed
feat: set default route to list of projects
1 parent d96d5da commit 1c96157

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/manager/apps/public-cloud/src/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import './index.scss';
2727

2828
import controller from './index.controller';
2929
import service from './index.service';
30+
import routing from './index.routes';
3031

3132
angular
3233
.module('ovhStack', [
@@ -38,4 +39,5 @@ angular
3839
])
3940
.controller('PublicCloudController', controller)
4041
.service('publicCloud', service)
42+
.config(routing)
4143
.run(/* @ngTranslationsInject:json ./translations */);
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
export default /* @ngInject */ ($urlRouterProvider) => {
2-
$urlRouterProvider.otherwise('/#!/pci/projects');
2+
$urlRouterProvider.otherwise('/pci/projects');
33
};

0 commit comments

Comments
 (0)