]> source.dussan.org Git - sonarqube.git/commitdiff
add redirection from /issues/show to /issues/search (necessary for eclipse plugin)
authorStas Vilchik <vilchiks@gmail.com>
Wed, 28 Jan 2015 15:54:18 +0000 (16:54 +0100)
committerStas Vilchik <vilchiks@gmail.com>
Thu, 29 Jan 2015 14:34:59 +0000 (15:34 +0100)
server/sonar-web/src/main/webapp/WEB-INF/app/controllers/issues_controller.rb

index 27d98b4c50ca1b6a9f6448f3734aeb087e5c5993..f79d880579cbb3f1825d60fb1cdace709d63dcc1 100644 (file)
@@ -38,6 +38,11 @@ class IssuesController < ApplicationController
 
   end
 
+  def show
+    # the redirect is needed for the backward compatibility with eclipse plugin
+    redirect_to :action => 'search', :anchor => 'issues=' + params[:id]
+  end
+
   # GET /issues/manage
   def manage
     @issues_query = Internal.issues.emptyIssueQuery()