]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-6331 open overview by default (fix for name parameter)
authorStas Vilchik <vilchiks@gmail.com>
Mon, 30 Mar 2015 16:31:23 +0000 (18:31 +0200)
committerStas Vilchik <vilchiks@gmail.com>
Mon, 30 Mar 2015 16:31:23 +0000 (18:31 +0200)
server/sonar-web/src/main/webapp/WEB-INF/app/controllers/dashboard_controller.rb

index e3e3729b12ee25d2844f04aaac9751d4443f3644..338d95ed2ac23fbc13e6a44e9baf2940898085b7 100644 (file)
@@ -216,7 +216,7 @@ class DashboardController < ApplicationController
   end
 
   def redirect_if_overview
-    if @resource && !params[:did]
+    if @resource && !params[:did] && !params[:name]
       redirect_to :controller => 'overview', :action => 'index', :id => @resource.key
     end
   end