diff --git a/src/api/config/routes.rb b/src/api/config/routes.rb index 0cab4d8eba0..2af243eda5a 100644 --- a/src/api/config/routes.rb +++ b/src/api/config/routes.rb @@ -433,8 +433,8 @@ def self.public_or_about_path?(request) end ### /worker - get 'worker/_status' => 'worker/status#index' - get 'build/_workerstatus' => 'worker/status#index' # FIXME3.0: drop this compat route + get 'worker/_status' => 'worker/status#index', as: :worker_status + get 'build/_workerstatus' => 'worker/status#index', as: :build_workerstatus # FIXME3.0: drop this compat route get 'worker/:worker' => 'worker/capability#show' post 'worker' => 'worker/command#run'