version_controller.rb 279 B

1234567891011121314
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. class VersionController < ApplicationController
  3. prepend_before_action :authenticate_and_authorize!
  4. # GET /api/v1/version
  5. def index
  6. render json: {
  7. version: Version.get
  8. }
  9. end
  10. end