From 28fc639920a4c74ee4812d270c438214b1aadd85 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Thu, 8 Sep 2016 17:46:15 +0200 Subject: [PATCH] Remove dead rails code --- .../main/webapp/WEB-INF/app/controllers/project_controller.rb | 2 -- .../src/main/webapp/WEB-INF/app/controllers/roles_controller.rb | 2 -- 2 files changed, 4 deletions(-) diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/project_controller.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/project_controller.rb index 40393a473a0..f7cfe6a342d 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/project_controller.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/project_controller.rb @@ -18,8 +18,6 @@ # Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # class ProjectController < ApplicationController - verify :method => :post, :only => [:set_links, :set_exclusions, :delete_exclusions, :update_key, :perform_key_bulk_update], - :redirect_to => {:action => :index} SECTION=Navigation::SECTION_RESOURCE diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/roles_controller.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/roles_controller.rb index 797353090ea..bb4f673275a 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/roles_controller.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/app/controllers/roles_controller.rb @@ -23,8 +23,6 @@ class RolesController < ApplicationController SECTION=Navigation::SECTION_CONFIGURATION before_filter :admin_required - verify :method => :post, :only => [:set_users, :set_groups], :redirect_to => {:action => 'global'} - # GET /roles/global def global -- 2.39.5