summaryrefslogtreecommitdiffstats
path: root/sonar-server/src/main/webapp/WEB-INF/config/routes.rb
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2014-01-20 14:54:41 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2014-01-20 14:56:48 +0100
commit5b9bb972f4f57a6e424b9ae64e2d9836bf3d4ed0 (patch)
treef39059c893814abb4a1cf9b2fd5c61ef35cae167 /sonar-server/src/main/webapp/WEB-INF/config/routes.rb
parentc326464e88a2c7486d47fefa5375678b9a653401 (diff)
downloadsonarqube-5b9bb972f4f57a6e424b9ae64e2d9836bf3d4ed0.tar.gz
sonarqube-5b9bb972f4f57a6e424b9ae64e2d9836bf3d4ed0.zip
SONAR-5010 allow Java web services to use an existing ruby controller
Example : Ruby /api/rules/index should still work if Java /api/rules/search is defined
Diffstat (limited to 'sonar-server/src/main/webapp/WEB-INF/config/routes.rb')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/config/routes.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/config/routes.rb b/sonar-server/src/main/webapp/WEB-INF/config/routes.rb
index 6c60ff70a8e..474e68c2dfe 100644
--- a/sonar-server/src/main/webapp/WEB-INF/config/routes.rb
+++ b/sonar-server/src/main/webapp/WEB-INF/config/routes.rb
@@ -22,7 +22,6 @@ ActionController::Routing::Routes.draw do |map|
map.connect 'api/resoures', :controller => 'api/resources', :action => 'index'
map.connect 'api/sources', :controller => 'api/sources', :action => 'index'
- map.resources 'rules', :path_prefix => 'api', :controller => 'api/rules'
map.resources 'properties', :path_prefix => 'api', :controller => 'api/properties', :requirements => { :id => /.*/ }
# home page