Skip to content

Commit

Permalink
Step 5.18: Add confirmation route state
Browse files Browse the repository at this point in the history
  • Loading branch information
DAB0mB authored and Dotan Simha committed Nov 22, 2016
1 parent ed51d4b commit 3591c07
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/routes.js
Expand Up @@ -42,6 +42,11 @@ class RoutesConfig extends Config {
url: '/login',
templateUrl: 'templates/login.html',
controller: 'LoginCtrl as logger'
})
.state('confirmation', {
url: '/confirmation/:phone',
templateUrl: 'templates/confirmation.html',
controller: 'ConfirmationCtrl as confirmation'
});

this.$urlRouterProvider.otherwise('tab/chats');
Expand Down

0 comments on commit 3591c07

Please sign in to comment.