# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/ class VersionController < ApplicationController prepend_before_action { authentication_check && authorize! } # GET /api/v1/version def index render json: { version: Version.get } end end