Add back content_type

I forgot to specify it in
7ccae2c4f1
This commit is contained in:
gregoirenovel 2018-02-01 17:49:19 +01:00
parent c5c330e1df
commit 9764a0af8d

View file

@ -2,9 +2,9 @@ class PingController < ApplicationController
def index
Rails.logger.silence do
if (ActiveRecord::Base.connected?)
head :ok
head :ok, content_type: "application/json"
else
head :internal_server_error
head :internal_server_error, content_type: "application/json"
end
end
end