Skip to content

Commit 63a5a5b

Browse files
authored
Remove orphaned service_bindings routes (#4948)
The V3 ServiceBindingsController was removed in commit 57357b4 (Feb 2021) when it was replaced by service_credential_bindings, but the routes were accidentally left behind. These orphaned routes cause 500 errors with "uninitialized constant ServiceBindingsController" during route resolution.
1 parent 5953247 commit 63a5a5b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

config/routes.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,6 @@
186186
delete '/security_groups/:guid/relationships/staging_spaces/:space_guid', to: 'security_groups#delete_staging_spaces'
187187
delete '/security_groups/:guid', to: 'security_groups#destroy'
188188

189-
# service_bindings
190-
post '/service_bindings', to: 'service_bindings#create'
191-
get '/service_bindings/:guid', to: 'service_bindings#show'
192-
get '/service_bindings', to: 'service_bindings#index'
193-
delete '/service_bindings/:guid', to: 'service_bindings#destroy'
194-
195189
# service_credential_bindings
196190
resources :service_credential_bindings,
197191
param: :guid,

0 commit comments

Comments
 (0)