From 1581cca25da454826875f52751b40ed0e945b85f Mon Sep 17 00:00:00 2001 From: Teryk Bellahsene Date: Tue, 16 Jun 2015 11:31:48 +0200 Subject: [PATCH] SONAR-6574 remove routes to RoR WS api/metrics/* --- server/sonar-web/src/main/webapp/WEB-INF/config/routes.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/server/sonar-web/src/main/webapp/WEB-INF/config/routes.rb b/server/sonar-web/src/main/webapp/WEB-INF/config/routes.rb index 2a60362d112..29a2653ff77 100644 --- a/server/sonar-web/src/main/webapp/WEB-INF/config/routes.rb +++ b/server/sonar-web/src/main/webapp/WEB-INF/config/routes.rb @@ -13,11 +13,6 @@ ActionController::Routing::Routes.draw do |map| map.connect 'batch_bootstrap/index', :controller => 'api/java_ws', :action => 'index', :wspath => 'batch', :wsaction => 'index' map.connect 'batch/:name', :controller => 'api/java_ws', :action => 'index', :wspath => 'batch', :wsaction => 'file', :requirements => { :name => /.*/ } - map.connect 'api/metrics', :controller => 'api/metrics', :action => 'index', :conditions => { :method => :get } - map.connect 'api/metrics/:id', :controller => 'api/metrics', :action => 'show', :conditions => { :method => :get } - map.connect 'api/metrics/:id', :controller => 'api/metrics', :action => 'create', :conditions => { :method => :post } - map.connect 'api/metrics/:id', :controller => 'api/metrics', :action => 'update', :conditions => { :method => :put } - map.connect 'api/metrics/:id', :controller => 'api/metrics', :action => 'destroy', :conditions => { :method => :delete } map.connect 'api/server/:action', :controller => 'api/server' map.connect 'api/resoures', :controller => 'api/resources', :action => 'index' map.connect 'api/sources', :controller => 'api/sources', :action => 'index' -- 2.39.5