fix(static_controller): return body nil when 500
Fix deprecation warning from nothing.
This commit is contained in:
parent
22bf0713f9
commit
a20bd477ce
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class StaticController < ApplicationController
|
|||
if result
|
||||
send_file(temp_file, :type => "application/gzip")
|
||||
else
|
||||
render :nothing => true, :status => 500
|
||||
render body: nil, status: 500
|
||||
end
|
||||
elsif (ccs_method == 'github')
|
||||
git_hash = File.read("#{Rails.root}/CCS_HASH")
|
||||
|
|
Loading…
Reference in a new issue