From b8e4570d53b41f7bbb1ccba84e5950c0ce89f937 Mon Sep 17 00:00:00 2001 From: David Gageot Date: Tue, 8 May 2012 11:23:40 +0200 Subject: [PATCH] Revert "SONAR-1927 Filters should be in the Administration Section" because it breaks IT tests. This should be implemented only after the filter migration is done This reverts commit 6235e6d68c1583e16229b38f7c789b57181721a9. --- .../main/webapp/WEB-INF/app/controllers/filters_controller.rb | 2 +- .../main/webapp/WEB-INF/app/views/layouts/_layout.html.erb | 4 ++-- sonar-server/src/main/webapp/WEB-INF/config/routes.rb | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sonar-server/src/main/webapp/WEB-INF/app/controllers/filters_controller.rb b/sonar-server/src/main/webapp/WEB-INF/app/controllers/filters_controller.rb index cd8b289a093..d712c13a75a 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/controllers/filters_controller.rb +++ b/sonar-server/src/main/webapp/WEB-INF/app/controllers/filters_controller.rb @@ -22,7 +22,7 @@ class FiltersController < ApplicationController helper MetricsHelper helper FiltersHelper - SECTION=Navigation::SECTION_CONFIGURATION + SECTION=Navigation::SECTION_HOME verify :method => :post, :only => [:create, :delete, :up, :down, :activate, :deactivate, :up_column, :down_column, :add_column, :delete_column, :set_sorted_column, :set_view, :set_columns, :set_page_size], :redirect_to => {:action => :index} before_filter :load_active_filters, :except => ['admin_console', 'treemap', 'set_view', 'set_columns'] diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb index a7e72fe5e17..9c1d3a854c8 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/layouts/_layout.html.erb @@ -35,6 +35,8 @@