crosscite/content-negotiation

View on GitHub
app/controllers/heartbeat_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
class HeartbeatController < ApplicationController
  def index
    heartbeat = Heartbeat.new
    render plain: heartbeat.string, status: heartbeat.status, content_type: "text/html"
  end
end