diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index f7bc95a7d..6f7ec717f 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -654,7 +654,7 @@ class ApplicationController < ActionController::Base # Renders a head API response def render_api_head(status) - head :status => status + head status end # Renders API response on validation failure