From: Fabrice Bellingard Date: Mon, 1 Oct 2012 06:50:17 +0000 (+0200) Subject: SONAR-3675 Remove the "events" route X-Git-Tag: 3.3~164 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a1d4e882df73ad7858c766f80f57a5f1fb15782c;p=sonarqube.git SONAR-3675 Remove the "events" route --- 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 2c304042b0c..6cfed6caea7 100644 --- a/sonar-server/src/main/webapp/WEB-INF/config/routes.rb +++ b/sonar-server/src/main/webapp/WEB-INF/config/routes.rb @@ -3,9 +3,6 @@ ActionController::Routing::Routes.draw do |map| map.connect 'users/set_groups', :controller => 'users', :action => 'set_groups' map.resources :users - # used only for the events widget - map.resources :events - map.namespace :api do |api| api.resources :events, :only => [:index, :show, :create, :destroy] api.resources :user_properties, :only => [:index, :show, :create, :destroy], :requirements => { :id => /.*/ }