gitlab-org--gitlab-foss/app/helpers/version_check_helper.rb
2015-09-09 14:37:34 +02:00

7 lines
137 B
Ruby

module VersionCheckHelper
def version_status_badge
if Rails.env.production?
image_tag VersionCheck.new.url
end
end
end