diff --git a/app/controllers/api/base_controller.rb b/app/controllers/api/base_controller.rb index 493b13665e..5da8a06be2 100644 --- a/app/controllers/api/base_controller.rb +++ b/app/controllers/api/base_controller.rb @@ -63,13 +63,7 @@ module Api end def set_content_type - content_type = case params[:format] - when "json" - "application/json" - when "xml" - "text/xml" - end - headers["Content-Type"] = content_type + headers["Content-Type"] = "application/json" end def error_during_processing(exception)