diff --git a/src/app/index.route.js b/src/app/index.route.js index 0aee1c3..6af1d91 100644 --- a/src/app/index.route.js +++ b/src/app/index.route.js @@ -8,7 +8,7 @@ function routeConfig($stateProvider, $urlRouterProvider) { $stateProvider .state('main', { - url: '', + url: '/', templateUrl: 'app/main/main.html', controller: 'MainController', controllerAs: 'vm', @@ -32,7 +32,7 @@ url: '^/myprofile/:profile' }) .state('main.profile', { - url: '/:profile', + url: '^/:profile', abstract: true, views: { 'content': { -- libgit2 0.21.2