Remove trailing / for rebuild button

This commit is contained in:
Michael J. Schultz 2014-10-12 19:07:18 +00:00
parent cd1fbe5d85
commit e6ce9b8aec

View file

@ -280,7 +280,7 @@ app.controller("CommitController", function($scope, $http, $routeParams, stdout,
}); });
$scope.rebuildCommit = function() { $scope.rebuildCommit = function() {
$http({method: 'POST', url: '/api/repos/'+remote+'/'+owner+'/'+name+'/'+'branches/'+branch+'/'+'commits/'+commit+'/?action=rebuild' }) $http({method: 'POST', url: '/api/repos/'+remote+'/'+owner+'/'+name+'/'+'branches/'+branch+'/'+'commits/'+commit+'?action=rebuild' })
} }