From 7718616d9b109c228f223a1970fac0e8c2291df8 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Wed, 13 Jan 2016 15:27:57 -0300 Subject: [PATCH] Redirect to profile info when access root profile page --- src/app/index.route.js | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/src/app/index.route.js b/src/app/index.route.js index a283a65..a9943fa 100644 --- a/src/app/index.route.js +++ b/src/app/index.route.js @@ -6,6 +6,7 @@ .config(routeConfig); function routeConfig($stateProvider, $urlRouterProvider) { + $urlRouterProvider.when('/:profile', '/profile/:profile'); $stateProvider .state('main', { url: '/', -- libgit2 0.21.2