summaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-03-27 14:31:02 +0100
committerJulien Lancelot <julien.lancelot@gmail.com>2013-03-27 14:31:02 +0100
commit9b70bcf811a6be434835389053acacc43272607a (patch)
treecc24f81e6d17126d0aea79a03f1ac8b2f266cca6 /sonar-server
parenteb01b4fe84116ca103c1f5009307c145e9d44148 (diff)
downloadsonarqube-9b70bcf811a6be434835389053acacc43272607a.tar.gz
sonarqube-9b70bcf811a6be434835389053acacc43272607a.zip
SONAR-4222 Application context not respected in batch_bootstrap redirect
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb
index 93d2b793287..46344dc5139 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb
@@ -57,7 +57,7 @@ class BatchBootstrapController < Api::ApiController
# GET /batch_bootstrap/index
def index
- redirect_to "/deploy/bootstrap/index.txt"
+ redirect_to ApplicationController.root_context.to_s + "/deploy/bootstrap/index.txt"
end
private