Allow deeplinking of domains into email view

This commit is contained in:
Johannes Zellner
2018-04-09 18:00:08 +02:00
parent 9acde7fe86
commit 8565130166
3 changed files with 37 additions and 3 deletions

View File

@@ -74,6 +74,9 @@ app.config(['$routeProvider', function ($routeProvider) {
}).when('/email', {
controller: 'EmailController',
templateUrl: 'views/email.html?<%= revision %>'
}).when('/email/:domain', {
controller: 'EmailController',
templateUrl: 'views/email.html?<%= revision %>'
}).when('/settings', {
controller: 'SettingsController',
templateUrl: 'views/settings.html?<%= revision %>'