Switch to using the ?namespace param instead of cookie changes

This commit is contained in:
Joseph Schorr 2014-01-31 14:00:42 -05:00
parent fdb628a0b0
commit 407ef7ad3c
2 changed files with 7 additions and 11 deletions

View file

@ -874,15 +874,7 @@ quayApp.directive('repoBreadcrumb', function () {
'repo': '=repo',
'image': '=image'
},
controller: function($scope, $element, $location, UserService, CookieService) {
$scope.showNamespace = function() {
var namespace = $scope.repo.namespace || '';
if (UserService.isKnownNamespace(namespace)) {
CookieService.putPermanent('quay.namespace', namespace);
}
$location.path('/repository/');
};
controller: function($scope, $element) {
}
};
return directiveDefinitionObject;