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

version_check_helper.rb « gitlab « helpers « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 46a12cc8c600e6baa3c90fc7353b89107a9d2ed5 (plain)
1
2
3
4
5
6
7
8
9
module Gitlab
  module VersionCheckHelper
    def version_status_badge
      if Rails.env.production?
        image_tag VersionCheck.new.url
      end
    end
  end
end