]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-4222 Application context not respected in batch_bootstrap redirect
authorJulien Lancelot <julien.lancelot@gmail.com>
Wed, 27 Mar 2013 13:31:02 +0000 (14:31 +0100)
committerJulien Lancelot <julien.lancelot@gmail.com>
Wed, 27 Mar 2013 13:31:02 +0000 (14:31 +0100)
sonar-server/src/main/webapp/WEB-INF/app/controllers/batch_bootstrap_controller.rb

index 93d2b793287bc017454ff10f2ab5dcb235878941..46344dc5139ac700849c03a60fead37ac37140f0 100644 (file)
@@ -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