9764a0af8d
I forgot to specify it in
7ccae2c4f1
11 lines
286 B
Ruby
11 lines
286 B
Ruby
class PingController < ApplicationController
|
|
def index
|
|
Rails.logger.silence do
|
|
if (ActiveRecord::Base.connected?)
|
|
head :ok, content_type: "application/json"
|
|
else
|
|
head :internal_server_error, content_type: "application/json"
|
|
end
|
|
end
|
|
end
|
|
end
|