projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch '15694-cwl-hang' closes #15694
[arvados.git]
/
services
/
api
/
app
/
controllers
/
application_controller.rb
diff --git
a/services/api/app/controllers/application_controller.rb
b/services/api/app/controllers/application_controller.rb
index b23515dda4528b1e7f44433a8fcfa006d7ee3486..369043e780863a4f84c4c9667fda9bdff2597afb 100644
(file)
--- a/
services/api/app/controllers/application_controller.rb
+++ b/
services/api/app/controllers/application_controller.rb
@@
-433,7
+433,7
@@
class ApplicationController < ActionController::Base
end
def disable_api_methods
- if Rails.configuration.API.DisabledAPIs
.include?(controller_name + "." + action_name)
+ if Rails.configuration.API.DisabledAPIs
[controller_name + "." + action_name]
send_error("Disabled", status: 404)
end
end