1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-11 13:15:20 +00:00

Don't call #head with a hash.

git-svn-id: http://svn.redmine.org/redmine/trunk@16588 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2017-06-01 18:28:18 +00:00
parent f414e3c863
commit da4f9ce34d

View File

@ -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