tryzealot/zealot

View on GitHub
app/controllers/api/version_controller.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

class Api::VersionController < Api::BaseController
  # GET /version
  def index
    render json: {
      version: Setting.version,
      vcs_ref: Setting.vcs_ref,
      build_date: Setting.build_date
    }
  end
end