Module: VersionCheckHelper

Defined in:
app/helpers/version_check_helper.rb

Instance Method Summary collapse

Instance Method Details

#version_status_badgeObject


2
3
4
5
6
# File 'app/helpers/version_check_helper.rb', line 2

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