diff --git a/static/js/controllers.js b/static/js/controllers.js index d9684cbdc..555356993 100644 --- a/static/js/controllers.js +++ b/static/js/controllers.js @@ -1198,12 +1198,12 @@ function RepoAdminCtrl($scope, Restangular, ApiService, KeyService, $routeParams $scope.getBadgeFormat = function(format, repo) { if (!repo) { return; } - var imageUrl = Config.getUrl('/' + namespace + '/' + name + '/status'); + var imageUrl = Config.getUrl('/repository/' + namespace + '/' + name + '/status'); if (!$scope.repo.is_public) { imageUrl += '?token=' + $scope.repo.status_token; } - var linkUrl = Config.getUrl('/' + namespace + '/' + name); + var linkUrl = Config.getUrl('/repository/' + namespace + '/' + name); switch (format) { case 'svg':