BigW Consortium Gitlab

version_check_helper.rb 191 Bytes
module VersionCheckHelper
  def version_status_badge
    if Rails.env.production? && current_application_settings.version_check_enabled
      image_tag VersionCheck.new.url
    end
  end
end