Merge pull request #1711 from maraoz/add/devLogin
add developer easy login
This commit is contained in:
commit
e7211979e8
4 changed files with 33 additions and 4 deletions
16
js/routes.js
16
js/routes.js
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue