Commit 7718616d9b109c228f223a1970fac0e8c2291df8
1 parent
a446b738
Exists in
master
and in
38 other branches
Redirect to profile info when access root profile page
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/app/index.route.js
@@ -6,6 +6,7 @@ | @@ -6,6 +6,7 @@ | ||
6 | .config(routeConfig); | 6 | .config(routeConfig); |
7 | 7 | ||
8 | function routeConfig($stateProvider, $urlRouterProvider) { | 8 | function routeConfig($stateProvider, $urlRouterProvider) { |
9 | + $urlRouterProvider.when('/:profile', '/profile/:profile'); | ||
9 | $stateProvider | 10 | $stateProvider |
10 | .state('main', { | 11 | .state('main', { |
11 | url: '/', | 12 | url: '/', |