debian-mirror-gitlab/app/helpers/version_check_helper.rb

8 lines
137 B
Ruby
Raw Normal View History

2015-09-11 14:41:01 +05:30
module VersionCheckHelper
def version_status_badge
if Rails.env.production?
image_tag VersionCheck.new.url
end
end
end