Merge pull request #1711 from maraoz/add/devLogin

add developer easy login
This commit is contained in:
Matias Alejo Garcia 2014-11-04 11:59:34 -03:00
commit e7211979e8
4 changed files with 33 additions and 4 deletions

View file

@ -73,11 +73,19 @@ angular
.when('/manage', {
templateUrl: 'views/manage.html',
logged: true
})
.otherwise({
templateUrl: 'views/errors/404.html',
title: 'Error'
});
if (config.developmentFeatures) {
$routeProvider.when('/devLogin/:mail/:password', {
templateUrl: 'views/devLogin.html',
logged: false
});
}
$routeProvider.otherwise({
templateUrl: 'views/errors/404.html',
title: 'Error'
});
});
//Setting HTML5 Location Mode