diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-06-01 18:28:18 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2017-06-01 18:28:18 +0000 |
commit | da4f9ce34d6365e36a63720d3370514277039834 (patch) | |
tree | bc8ff8f7f7fbb8ec8b6c6fabadcbced78120c39c /app/controllers/application_controller.rb | |
parent | f414e3c8637aac2d458367176891472a9e90dbf2 (diff) | |
download | redmine-da4f9ce34d6365e36a63720d3370514277039834.tar.gz redmine-da4f9ce34d6365e36a63720d3370514277039834.zip |
Don't call #head with a hash.
git-svn-id: http://svn.redmine.org/redmine/trunk@16588 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/application_controller.rb')
-rw-r--r-- | app/controllers/application_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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 |