debian-mirror-gitlab/app/helpers/version_check_helper.rb
2015-09-25 12:07:36 +05:30

7 lines
191 B
Ruby

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