Welcome to mirror list, hosted at ThFree Co, Russian Federation.

version_check_controller.rb « admin « controllers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dde1a7abafa41906b94653d53608f561eb339aed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

class Admin::VersionCheckController < Admin::ApplicationController
  feature_category :not_owned

  def version_check
    response = VersionCheck.new.response

    expires_in 1.minute if response
    render json: response
  end
end