From: Julien Lancelot Date: Thu, 8 Sep 2016 15:46:15 +0000 (+0200) Subject: Remove dead rails code X-Git-Tag: 6.1-RC1~157 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=28fc639920a4c74ee4812d270c438214b1aadd85;p=sonarqube.git Remove dead rails code --- 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