Commit 2e5167337cf0f90a9d1af57f88da3b84c22d48ff

Authored by Victor Costa
1 parent 66abb331

Accept profile prefix in route

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
src/app/index.route.js
... ... @@ -12,6 +12,9 @@
12 12 controller: 'MainController',
13 13 controllerAs: 'main'
14 14 })
  15 + .when('/profile/:profile', {
  16 + redirectTo: '/:profile'
  17 + })
15 18 .otherwise({
16 19 redirectTo: '/'
17 20 });
... ...