Browse Source

Don't call #head with a hash.

git-svn-id: http://svn.redmine.org/redmine/trunk@16588 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/3.4.0
Jean-Philippe Lang 7 years ago
parent
commit
da4f9ce34d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      app/controllers/application_controller.rb

+ 1
- 1
app/controllers/application_controller.rb 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

Loading…
Cancel
Save