Add an explicit call to a controller when signing out

This commit is contained in:
Matias Pando 2015-01-22 17:14:31 -03:00
commit db6bcc4d9a
3 changed files with 13 additions and 1 deletions

View file

@ -106,6 +106,11 @@ angular
.when('/add', {
templateUrl: 'views/add.html',
logged: true
})
.when('/signout', {
template: " ", // just fire controller
controller: 'signOutController',
logged: true
});
if (config.developmentFeatures) {