Switch the "Account Settings" link to the new user view page's settings tab

This commit is contained in:
Joseph Schorr 2015-04-03 17:56:08 -04:00
parent 5ed900c9bc
commit cafc96fe28
2 changed files with 6 additions and 1 deletions

View file

@ -18,6 +18,8 @@ angular.module('quay').directive('headerBar', function () {
// Monitor any user changes and place the current user into the scope.
UserService.updateUserIn($scope);
$scope.isNewLayout = Config.isNewLayout();
$scope.signout = function() {
ApiService.logout().then(function() {
UserService.load();