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:
parent
f414e3c863
commit
da4f9ce34d
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user