gitlab-org--gitlab-foss/app/helpers/version_check_helper.rb

8 lines
137 B
Ruby
Raw Normal View History

2015-02-12 23:31:55 -05:00
module VersionCheckHelper
def version_status_badge
if Rails.env.production?
image_tag VersionCheck.new.url
end
2015-02-12 23:31:55 -05:00
end
end