git-svn-id: http://svn.redmine.org/redmine/trunk@16588 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/3.4.0
@@ -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 |