summaryrefslogtreecommitdiff
path: root/app/helpers/version_check_helper.rb
blob: a674564c4ec8c2d0364cf865b94b3781b4766da2 (plain)
1
2
3
4
5
6
7
module VersionCheckHelper
  def version_status_badge
    if Rails.env.production? && current_application_settings.version_check_enabled
      image_tag VersionCheck.new.url
    end
  end
end