class HealthcheckController < ActionController::Base
  def check
    Contact.first # check DB connectivity
    render json: { git_sha1: CURRENT_RELEASE_SHA }
  end
end

class HealthcheckController < ActionController::API
  def check
    Contact.first # check DB connectivity
    render json: { git_sha1: CURRENT_RELEASE_SHA }
  end
end

Make the health check controller an API controller
Make the health check controller an API controller

This means we won't get warnings about not protecting from a CSRF
attack.
