]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3972 Fix regression
authorFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Thu, 6 Dec 2012 09:26:55 +0000 (10:26 +0100)
committerFabrice Bellingard <fabrice.bellingard@sonarsource.com>
Thu, 6 Dec 2012 09:26:55 +0000 (10:26 +0100)
sonar-server/src/main/webapp/WEB-INF/app/controllers/alerts_controller.rb
sonar-server/src/main/webapp/WEB-INF/app/controllers/comparison_controller.rb
sonar-server/src/main/webapp/WEB-INF/app/controllers/dependencies_controller.rb
sonar-server/src/main/webapp/WEB-INF/app/controllers/profiles_controller.rb
sonar-server/src/main/webapp/WEB-INF/app/controllers/rules_configuration_controller.rb

index 1a6271f548f1bbde289dc3cbb8a6813014fb83bc..f28ddf424a840424bd16cd3d84dd1cdccc3dfd3a 100644 (file)
@@ -22,7 +22,7 @@ class AlertsController < ApplicationController
   verify :method => :post, :only => ['create', 'update', 'delete'], :redirect_to => { :action => 'index' }
   before_filter :admin_required, :except => [ 'index' ]
 
-  SECTION=Navigation::SECTION_RESOURCE
+  SECTION=Navigation::SECTION_HOME
 
   #
   #
index 6d95334726f333748ed900388e74c531d5681328..fb56070f4b289877d98d03dfff18bf6d52e4c20a 100644 (file)
@@ -20,7 +20,7 @@
 
 class ComparisonController < ApplicationController
 
-  SECTION=Navigation::SECTION_RESOURCE
+  SECTION=Navigation::SECTION_HOME
   
   def index
     snapshots = []
index c00e28ebc753ec1e4de9bca9497e38476b7102dc..cbc4525e0f077b380ae65bc3309daf8c6687383f 100644 (file)
@@ -19,7 +19,7 @@
 #
 class DependenciesController < ApplicationController
 
-  SECTION=Navigation::SECTION_RESOURCE
+  SECTION=Navigation::SECTION_HOME
 
   SEARCH_MINIMUM_SIZE=3
   QUALIFIERS=['TRK', 'BRC', 'LIB']
index abb7c9d3701adc192b1e724b64752c0623a33c5c..ee1ce27ace39e73b306b7e960f969ccdb9bb4352 100644 (file)
@@ -22,7 +22,7 @@ class ProfilesController < ApplicationController
   # the backup action is allow to non-admin users : see http://jira.codehaus.org/browse/SONAR-2039
   before_filter :admin_required, :only => ['create', 'delete', 'set_as_default', 'copy', 'restore', 'change_parent', 'set_projects', 'rename_form', 'rename']
 
-  SECTION=Navigation::SECTION_RESOURCE
+  SECTION=Navigation::SECTION_HOME
     
   ROOT_BREADCRUMB = {:name => Api::Utils.message('quality_profiles.page'), :url => {:controller => 'profiles', :action => 'index'}}
 
index b47ce54d5e627fdc323a4e0a97678debf4b7999b..c5dad2531dbddcd9b0dc030d682c79c61dc06861 100644 (file)
@@ -21,7 +21,7 @@ require 'cgi'
 
 class RulesConfigurationController < ApplicationController
 
-  SECTION=Navigation::SECTION_RESOURCE
+  SECTION=Navigation::SECTION_HOME
   
   STATUS_ACTIVE = "ACTIVE"
   STATUS_INACTIVE = "INACTIVE"