diff --git a/app/scripts/app.js b/app/scripts/app.js index 85bcd4d..c92e264 100644 --- a/app/scripts/app.js +++ b/app/scripts/app.js @@ -58,6 +58,12 @@ var app = angular.module('vinzApp', [ templateUrl: '/static/views/dashboard.html', controller: 'DashboardCtrl' }) + .when('/logout/', { + redirectTo: function(){ + window.location.href = '/logout/'; + window.location.reload(true); + } + }) .otherwise({ redirectTo: '/' });