Commit d3b0489122f932ab380ee2ed7cdd6c4b82e84d0a
1 parent
45cc94c3
Exists in
master
and in
1 other branch
Fix main route
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/app/index.route.js
... | ... | @@ -8,7 +8,7 @@ |
8 | 8 | function routeConfig($stateProvider, $urlRouterProvider) { |
9 | 9 | $stateProvider |
10 | 10 | .state('main', { |
11 | - url: '', | |
11 | + url: '/', | |
12 | 12 | templateUrl: 'app/main/main.html', |
13 | 13 | controller: 'MainController', |
14 | 14 | controllerAs: 'vm', |
... | ... | @@ -32,7 +32,7 @@ |
32 | 32 | url: '^/myprofile/:profile' |
33 | 33 | }) |
34 | 34 | .state('main.profile', { |
35 | - url: '/:profile', | |
35 | + url: '^/:profile', | |
36 | 36 | abstract: true, |
37 | 37 | views: { |
38 | 38 | 'content': { | ... | ... |