From e6ce9b8aeca89f2d992aed2f1d681d0593d7018e Mon Sep 17 00:00:00 2001 From: "Michael J. Schultz" Date: Sun, 12 Oct 2014 19:07:18 +0000 Subject: [PATCH] Remove trailing / for rebuild button --- server/app/scripts/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/app/scripts/app.js b/server/app/scripts/app.js index 1f4738081..b2106ce83 100644 --- a/server/app/scripts/app.js +++ b/server/app/scripts/app.js @@ -280,8 +280,8 @@ app.controller("CommitController", function($scope, $http, $routeParams, stdout, }); $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' }) } -}); \ No newline at end of file +});